Interface IsPoint
-
- All Known Implementing Classes:
AbstractPoint,AbstractReadOnlyPoint,Amount,AnnotationElement,ChartEventContext,CoordinatesPoint,DatasetElement,DatasetPoint,EventPoint,EventPoint,Parsed,Point,PositionPoint,TooltipModel
public interface IsPointThis interface is defining an object which represents a point, with x and y coordinates.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description doublegetX()Returns the X coordinate of the point.doublegetY()Returns the Y coordinate of the point.default booleanisConsistent()Returnstrueif the coordinates are consistent and notNaN.
-
-
-
Method Detail
-
getX
double getX()
Returns the X coordinate of the point.- Returns:
- the X coordinate of the point.
-
getY
double getY()
Returns the Y coordinate of the point.- Returns:
- the Y coordinate of the point.
-
isConsistent
default boolean isConsistent()
Returnstrueif the coordinates are consistent and notNaN.- Returns:
trueif the coordinates are consistent and notNaN
-
-