Class SpatialPartition
- java.lang.Object
-
- org.locationtech.jts.operation.union.SpatialPartition
-
public class SpatialPartition extends java.lang.Object
Computes a partition of a set of geometries into disjoint subsets, based on a provided equivalence relation. Uses a spatial index for efficient processing.- Author:
- mdavis
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SpatialPartition.Relation
-
Constructor Summary
Constructors Constructor Description SpatialPartition(Geometry[] geoms, SpatialPartition.Relation rel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
Geometry
getGeometry(int s, int i)
int
getItem(int s, int i)
int
getSize(int s)
-
-
-
Constructor Detail
-
SpatialPartition
public SpatialPartition(Geometry[] geoms, SpatialPartition.Relation rel)
-
-
Method Detail
-
getCount
public int getCount()
-
getSize
public int getSize(int s)
-
getItem
public int getItem(int s, int i)
-
getGeometry
public Geometry getGeometry(int s, int i)
-
-