Class CircleRDD

java.lang.Object
org.apache.sedona.core.spatialRDD.SpatialRDD<org.apache.sedona.common.geometryObjects.Circle>
org.apache.sedona.core.spatialRDD.CircleRDD
All Implemented Interfaces:
Serializable

public class CircleRDD extends SpatialRDD<org.apache.sedona.common.geometryObjects.Circle>
The Class CircleRDD.
See Also:
  • Constructor Details

    • CircleRDD

      public CircleRDD(org.apache.spark.api.java.JavaRDD<org.apache.sedona.common.geometryObjects.Circle> circleRDD)
      Instantiates a new circle RDD.
      Parameters:
      circleRDD - the circle RDD
    • CircleRDD

      public CircleRDD(org.apache.spark.api.java.JavaRDD<org.apache.sedona.common.geometryObjects.Circle> circleRDD, String sourceEpsgCRSCode, String targetEpsgCRSCode)
      Instantiates a new circle RDD.
      Parameters:
      circleRDD - the circle RDD
      sourceEpsgCRSCode - the source epsg CRS code
      targetEpsgCRSCode - the target epsg CRS code
    • CircleRDD

      public CircleRDD(SpatialRDD spatialRDD, Double Radius)
      Instantiates a new circle RDD.
      Parameters:
      spatialRDD - the spatial RDD
      Radius - the radius
  • Method Details

    • getCenterPointAsSpatialRDD

      public PointRDD getCenterPointAsSpatialRDD()
      Gets the center point as spatial RDD.
      Returns:
      the center point as spatial RDD
    • getCenterPolygonAsSpatialRDD

      public PolygonRDD getCenterPolygonAsSpatialRDD()
      Gets the center polygon as spatial RDD.
      Returns:
      the center polygon as spatial RDD
    • getCenterLineStringRDDAsSpatialRDD

      public LineStringRDD getCenterLineStringRDDAsSpatialRDD()
      Gets the center line string RDD as spatial RDD.
      Returns:
      the center line string RDD as spatial RDD
    • getCenterRectangleRDDAsSpatialRDD

      public RectangleRDD getCenterRectangleRDDAsSpatialRDD()
      Gets the center rectangle RDD as spatial RDD.
      Returns:
      the center rectangle RDD as spatial RDD