public class UltimateUnion
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static GeometryFactory |
FACTORY |
| Constructor and Description |
|---|
UltimateUnion() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static Geometry |
partialUnion(Geometry shape,
java.util.Collection<Geometry> overlappingShapes)
Computes the union between the given shape with all overlapping shapes
and return only the segments in the result that overlap with the shape.
|
static Geometry |
partialUnion(Rectangle partition,
java.util.Collection<Geometry> shapes)
A second version of partial union that takes a partition boundary along
with all shapes overlapping this partition and returns the part of the
answer that falls within the boundaries of the given partition.
|
static void |
ultimateUnion(Path input,
Path output,
OperationsParams params) |
public static Geometry partialUnion(Geometry shape,
java.util.Collection<Geometry> overlappingShapes)
shape - overlappingShapes - public static Geometry partialUnion(Rectangle partition, java.util.Collection<Geometry> shapes)
partition - shapes - public static void ultimateUnion(Path input,
Path output,
OperationsParams params)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException