Examples of PreparedGeometryFactory


Examples of com.vividsolutions.jts.geom.prep.PreparedGeometryFactory

 
  static class PreparedGeometryOp
  {
    public static boolean intersects(Geometry g1, Geometry g2)
    {
      PreparedGeometryFactory pgFact = new PreparedGeometryFactory();
      PreparedGeometry prepGeom = pgFact.create(g1);
      return prepGeom.intersects(g2);
    }
View Full Code Here

Examples of com.vividsolutions.jts.geom.prep.PreparedGeometryFactory

      PreparedGeometry prepGeom = pgFact.create(g1);
      return prepGeom.intersects(g2);
    }
    public static boolean contains(Geometry g1, Geometry g2)
    {
      PreparedGeometryFactory pgFact = new PreparedGeometryFactory();
      PreparedGeometry prepGeom = pgFact.create(g1);
      return prepGeom.contains(g2);
    }
View Full Code Here

Examples of com.vividsolutions.jts.geom.prep.PreparedGeometryFactory

      PreparedGeometry prepGeom = pgFact.create(g1);
      return prepGeom.contains(g2);
    }
    public static boolean covers(Geometry g1, Geometry g2)
    {
      PreparedGeometryFactory pgFact = new PreparedGeometryFactory();
      PreparedGeometry prepGeom = pgFact.create(g1);
      return prepGeom.contains(g2);
    }
View Full Code Here

Examples of com.vividsolutions.jts.geom.prep.PreparedGeometryFactory

     */
    protected boolean cacheValue;

    protected AbstractPreparedGeometryFilter(Expression e1, Expression e2) {
        super(e1, e2);
        pGeomFac = new PreparedGeometryFactory();
        if (e1 != null)
            setExpression1(e1);
        if (e2 != null)
            setExpression2(e2);

View Full Code Here

Examples of com.vividsolutions.jts.geom.prep.PreparedGeometryFactory

    }

    protected AbstractPreparedGeometryFilter(Expression e1, Expression e2, MatchAction matchAction) {
        super(e1, e2, matchAction);
        pGeomFac = new PreparedGeometryFactory();
        if (e1 != null)
            setExpression1(e1);
        if (e2 != null)
            setExpression2(e2);
    }
View Full Code Here

Examples of com.vividsolutions.jts.geom.prep.PreparedGeometryFactory

public class PreparedGeometryFunctions
{
  private static PreparedGeometry createPG(Geometry g)
  {
    return (new PreparedGeometryFactory()).create(g);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.