|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.operation.GeometryGraphOperation
com.vividsolutions.jts.operation.overlay.OverlayOp
Computes the overlay of two Geometry
s. The overlay
can be used to determine any boolean combination of the geometries.
Field Summary | |
static int |
DIFFERENCE
|
static int |
INTERSECTION
The spatial functions supported by this class. |
static int |
SYMDIFFERENCE
|
static int |
UNION
|
Fields inherited from class com.vividsolutions.jts.operation.GeometryGraphOperation |
arg, li, resultPrecisionModel |
Constructor Summary | |
OverlayOp(Geometry g0,
Geometry g1)
|
Method Summary | |
PlanarGraph |
getGraph()
|
Geometry |
getResultGeometry(int funcCode)
|
protected void |
insertUniqueEdge(Edge e)
Insert an edge from one of the noded input graphs. |
boolean |
isCoveredByA(Coordinate coord)
This method is used to decide if an L edge should be included in the result or not. |
boolean |
isCoveredByLA(Coordinate coord)
This method is used to decide if a point node should be included in the result or not. |
static boolean |
isResultOfOp(int loc0,
int loc1,
int opCode)
This method will handle arguments of Location.NONE correctly |
static boolean |
isResultOfOp(Label label,
int opCode)
|
static Geometry |
overlayOp(Geometry geom0,
Geometry geom1,
int opCode)
|
Methods inherited from class com.vividsolutions.jts.operation.GeometryGraphOperation |
getArgGeometry, setComputationPrecision |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int INTERSECTION
public static final int UNION
public static final int DIFFERENCE
public static final int SYMDIFFERENCE
Constructor Detail |
public OverlayOp(Geometry g0, Geometry g1)
Method Detail |
public static Geometry overlayOp(Geometry geom0, Geometry geom1, int opCode)
public static boolean isResultOfOp(Label label, int opCode)
public static boolean isResultOfOp(int loc0, int loc1, int opCode)
public Geometry getResultGeometry(int funcCode)
public PlanarGraph getGraph()
protected void insertUniqueEdge(Edge e)
public boolean isCoveredByLA(Coordinate coord)
public boolean isCoveredByA(Coordinate coord)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |