Class UnionInteracting
- java.lang.Object
-
- org.locationtech.jts.operation.union.UnionInteracting
-
public class UnionInteracting extends java.lang.Object
Experimental code to union MultiPolygons with processing limited to the elements which actually interact. Not currently used, since it doesn't seem to offer much of a performance advantage.
-
-
Field Summary
Fields Modifier and Type Field Description private Geometry
g0
private Geometry
g1
private GeometryFactory
geomFactory
private boolean[]
interacts0
private boolean[]
interacts1
-
Constructor Summary
Constructors Constructor Description UnionInteracting(Geometry g0, Geometry g1)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private Geometry
bufferUnion(Geometry g0, Geometry g1)
private void
computeInteracting()
private boolean
computeInteracting(Geometry elem0)
private Geometry
extractElements(Geometry geom, boolean[] interacts, boolean isInteracting)
Geometry
union()
static Geometry
union(Geometry g0, Geometry g1)
-
-
-
Field Detail
-
geomFactory
private GeometryFactory geomFactory
-
g0
private Geometry g0
-
g1
private Geometry g1
-
interacts0
private boolean[] interacts0
-
interacts1
private boolean[] interacts1
-
-