Class ParcelGenerator

java.lang.Object
org.apache.sedona.common.spider.ParcelGenerator
All Implemented Interfaces:
Iterator<org.locationtech.jts.geom.Geometry>, Generator

public class ParcelGenerator extends Object implements Generator
Generate boxes that are non-overlapping and fill up the unit square.
  • Constructor Details

  • 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()
      Specified by:
      hasNext in interface Iterator<org.locationtech.jts.geom.Geometry>
    • next

      public org.locationtech.jts.geom.Geometry next()
      Specified by:
      next in interface Iterator<org.locationtech.jts.geom.Geometry>