Package uk.ac.starlink.ttools.plot
Class PointData
java.lang.Object
uk.ac.starlink.ttools.plot.PointData
Contains data for a single point in a
PointSequence
.
Used by ArrayPlotData
.- Since:
- 9 Apr 2008
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[][]
Returns the coordinates of the error extrema associated with this point.getLabel()
Returns the text label associated with this point.double[]
getPoint()
Returns the coordinates of this point.boolean
isIncluded
(int iset) Returns the inclusion status of a given subset.
-
Constructor Details
-
PointData
Constructor.- Parameters:
point
- point coordinateserrors
- error coordinates arraylabel
- text label, or nullisIncluded
- array of subset inclusion flags
-
-
Method Details
-
getPoint
public double[] getPoint()Returns the coordinates of this point.- Returns:
- point
-
getErrors
public double[][] getErrors()Returns the coordinates of the error extrema associated with this point.- Returns:
- error coordinates array
-
getLabel
Returns the text label associated with this point.- Returns:
- text label, or null
-
isIncluded
public boolean isIncluded(int iset) Returns the inclusion status of a given subset.- Parameters:
iset
- subset index- Returns:
- true iff this point is included in subset
iset
-