Package com.vividsolutions.jts.geom.prep

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


      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

      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

     */
    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

    }

    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

public class PreparedGeometryFunctions
{
  private static PreparedGeometry createPG(Geometry g)
  {
    return (new PreparedGeometryFactory()).create(g);
  }
View Full Code Here

TOP

Related Classes of com.vividsolutions.jts.geom.prep.PreparedGeometryFactory

Copyright © 2018 www.massapicom. 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.