|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Points
Encapsulates a list of N-dimensional points in data space, perhaps with additional information about error bounds.
| Method Summary | |
|---|---|
int |
getCount()
Returns the number of points in this dataset. |
double[][] |
getErrors(int ipoint)
Reads the errors for one of the stored points. |
String |
getLabel(int ipoint)
Returns a string associated with a given point. |
int |
getNdim()
Returns the length of the coordinate array for each point. |
int |
getNerror()
Returns the number of error points returned for each point. |
double[] |
getPoint(int ipoint)
Reads the coordinates of one of the stored points. |
boolean |
hasLabels()
Indicates whether a string label is associated with some points. |
| Method Detail |
|---|
int getCount()
int getNdim()
double[] getPoint(int ipoint)
ipoint - point index
int getNerror()
double[][] getErrors(int ipoint)
nerror double[] arrays,
each of which has ndim elements and represents the
coordinates of the end of an error bar. If any of these
coordinate arrays is null, it represents an error
bar of zero size, that is one whose end sits right on the data point.
The ordering of these points is up to the user of this object,
but typically they will be in pairs, e.g. (xlo,xhi, ylo,hi, ...).
The content of the returned double[][] array and of its elements
may be modified by subsequent calls to this method. The caller is
also permitted to modify these.
ipoint - point index
boolean hasLabels()
getLabel(int) may return a non-null value for
any pointString getLabel(int ipoint)
hasLabels() returns true.
ipoint - point index
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||