Class BaseShape<T extends SpatialContext>

java.lang.Object
org.locationtech.spatial4j.shape.BaseShape<T>
All Implemented Interfaces:
Shape
Direct Known Subclasses:
BufferedLine, BufferedLineString, CircleImpl, JtsGeometry, JtsPoint, PointImpl, RectangleImpl

public abstract class BaseShape<T extends SpatialContext> extends Object implements Shape
  • Field Details

  • Constructor Details

    • BaseShape

      public BaseShape(T ctx)
  • Method Details

    • getContext

      public T getContext()
      Description copied from interface: Shape
      Get the SpatialContext that created the Shape
      Specified by:
      getContext in interface Shape