Package org.apache.sedona.common.spider
Class ParcelGenerator
java.lang.Object
org.apache.sedona.common.spider.ParcelGenerator
Generate boxes that are non-overlapping and fill up the unit square.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.apache.sedona.common.spider.Generator
GEOMETRY_FACTORY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
ParcelGenerator
-
-
Method Details
-
generateBox
public org.locationtech.jts.geom.Envelope generateBox()Generates a box by first generating a point and building a box around it -
hasNext
public boolean hasNext() -
next
public org.locationtech.jts.geom.Geometry next()
-