Package org.openspaces.spatial.spatial4j
Interface Spatial4jShapeProvider
- All Known Implementing Classes:
CircleImpl,LineStringImpl,PointImpl,PolygonImpl,RectangleImpl
public interface Spatial4jShapeProvider
A helper interface for converting XAP shapes to Spatial4j shapes.
- Since:
- 11.0
- Author:
- Niv Ingberg
-
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.spatial4j.shape.ShapegetSpatial4jShape(org.locationtech.spatial4j.context.SpatialContext spatialContext) Gets a Spatial4j shape from the current object
-
Method Details
-
getSpatial4jShape
org.locationtech.spatial4j.shape.Shape getSpatial4jShape(org.locationtech.spatial4j.context.SpatialContext spatialContext) Gets a Spatial4j shape from the current object- Parameters:
spatialContext- The SpatialContext which will be used to construct the shape, if needed.- Returns:
- A Spatial4j shape
-