Package org.openspaces.spatial.shapes
Interface Shape
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Circle,LineString,Point,Polygon,Rectangle
- All Known Implementing Classes:
CircleImpl,LineStringImpl,PointImpl,PolygonImpl,RectangleImpl
Markup interface to serve as base for all spatial shapes supported by XAP.
- Since:
- 11.0
- Author:
- Yohana Khoury
-
Method Summary
Modifier and TypeMethodDescriptionappendTo(StringBuilder stringBuilder, ShapeFormat shapeFormat) Appends a string representation of the shape using the specified formattoString(ShapeFormat shapeFormat) Returns a string representation of the shape using the specified format.
-
Method Details
-
toString
Returns a string representation of the shape using the specified format.- Parameters:
shapeFormat- The format which will be used to format the shape.- Returns:
- A string representation of the shape.
-
appendTo
Appends a string representation of the shape using the specified format- Parameters:
stringBuilder- The string builder to append toshapeFormat- The format which will be used to format the shape- Returns:
- The string builder
-