Interface IsPoint
-
- All Known Implementing Classes:
AbstractPoint
,AbstractReadOnlyPoint
,Amount
,AnnotationElement
,AnnotationProperties
,ArcElement
,BarElement
,ChartElement
,ChartEventContext
,CoordinatesPoint
,DatasetPoint
,EventPoint
,EventPoint
,GeoFeatureElement
,MatrixElement
,Parsed
,ParsedData
,Point
,PointElement
,PositionPoint
,SankeyElement
,TooltipModel
,TreeMapElement
,ZoomPoint
public interface IsPoint
This 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 double
getX()
Returns the X coordinate of the point.double
getY()
Returns the Y coordinate of the point.default boolean
isConsistent()
Returnstrue
if 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()
Returnstrue
if the coordinates are consistent and notNaN
.- Returns:
true
if the coordinates are consistent and notNaN
-
-