Package uk.ac.starlink.ttools.plot
Class PointData
- java.lang.Object
-
- uk.ac.starlink.ttools.plot.PointData
-
public class PointData extends java.lang.Object
Contains data for a single point in aPointSequence
. Used byArrayPlotData
.- Since:
- 9 Apr 2008
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description PointData(double[] point, double[][] errors, java.lang.String label, boolean[] isIncluded)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[][]
getErrors()
Returns the coordinates of the error extrema associated with this point.java.lang.String
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.
-
-
-
Method Detail
-
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
public java.lang.String 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
-
-