Class QuadtreePartitioning
- java.lang.Object
-
- org.apache.sedona.core.spatialPartitioning.QuadtreePartitioning
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QuadTreeRTPartitioning
public class QuadtreePartitioning extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StandardQuadTree<Integer>
partitionTree
The Quad-Tree.
-
Constructor Summary
Constructors Constructor Description QuadtreePartitioning(List<org.locationtech.jts.geom.Envelope> samples, org.locationtech.jts.geom.Envelope boundary, int partitions)
Instantiates a new Quad-Tree partitioning.QuadtreePartitioning(List<org.locationtech.jts.geom.Envelope> samples, org.locationtech.jts.geom.Envelope boundary, int partitions, int minTreeLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardQuadTree
getPartitionTree()
-
-
-
Field Detail
-
partitionTree
protected final StandardQuadTree<Integer> partitionTree
The Quad-Tree.
-
-
Constructor Detail
-
QuadtreePartitioning
public QuadtreePartitioning(List<org.locationtech.jts.geom.Envelope> samples, org.locationtech.jts.geom.Envelope boundary, int partitions) throws Exception
Instantiates a new Quad-Tree partitioning.- Parameters:
samples
- the sample listboundary
- the boundarypartitions
- the partitions- Throws:
Exception
-
-
Method Detail
-
getPartitionTree
public StandardQuadTree getPartitionTree()
-
-