java.lang.Object
org.apache.sedona.core.spatialPartitioning.quadtree.QuadRectangle
All Implemented Interfaces:
Serializable

public class QuadRectangle extends Object implements Serializable
See Also:
  • Field Details

    • x

      public final double x
    • y

      public final double y
    • width

      public final double width
    • height

      public final double height
    • partitionId

      public Integer partitionId
    • lineage

      public String lineage
  • Constructor Details

    • QuadRectangle

      public QuadRectangle(org.locationtech.jts.geom.Envelope envelope)
    • QuadRectangle

      public QuadRectangle(double x, double y, double width, double height)
  • Method Details

    • contains

      public boolean contains(double x, double y)
    • contains

      public boolean contains(QuadRectangle r)
    • getUniqueId

      public int getUniqueId()
    • getEnvelope

      public org.locationtech.jts.geom.Envelope getEnvelope()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object