Package org.openspaces.spatial.shapes
Interface Polygon
- All Superinterfaces:
Serializable,Shape
- All Known Implementing Classes:
PolygonImpl
A polygon, denoted by 3 or more points
- Since:
- 11.0
- Author:
- Yohana Khoury
-
Method Details
-
getNumOfPoints
int getNumOfPoints()Returns the number of points within the polygon- Returns:
- The number of points within the polygon
-
getX
double getX(int index) Gets the X coordinate of the point in the specified index. -
getY
double getY(int index) Gets the Y coordinate of the point in the specified index.
-