Package org.locationtech.spatial4j.shape
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 java.lang.Object implements Shape
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getContext()
Get the SpatialContext that created the Shape-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.locationtech.spatial4j.shape.Shape
equals, getArea, getBoundingBox, getBuffered, getCenter, hasArea, isEmpty, relate
-
-
-
-
Field Detail
-
ctx
protected final T extends SpatialContext ctx
-
-
Constructor Detail
-
BaseShape
public BaseShape(T ctx)
-
-
Method Detail
-
getContext
public T getContext()
Description copied from interface:Shape
Get the SpatialContext that created the Shape- Specified by:
getContext
in interfaceShape
-
-