Package uk.ac.starlink.ttools.plot2
Interface DataPosSequence.PositionCloud
- Enclosing class:
DataPosSequence
public static interface DataPosSequence.PositionCloud
Adaptor interface defining a cloud of positions for use with
DataPosSequence.
-
Method Summary
Modifier and TypeMethodDescriptioncreateTupleSequence
(DataStore dataStore) Returns a new tuple sequence that iterates over the points in this cloud.Returns the DataGeom for this cloud.int
Returns the index of the data spec coordinate at which the position information starts for this cloud.long
Returns the approximate number of tuples that will be iterated over by the tuple sequence this object creates.
-
Method Details
-
getPosCoordIndex
int getPosCoordIndex()Returns the index of the data spec coordinate at which the position information starts for this cloud.- Returns:
- position coordinate index
-
getDataGeom
DataGeom getDataGeom()Returns the DataGeom for this cloud.- Returns:
- geom
-
createTupleSequence
Returns a new tuple sequence that iterates over the points in this cloud.- Parameters:
dataStore
- data storage object- Returns:
- new tuple sequence
-
getTupleCount
long getTupleCount()Returns the approximate number of tuples that will be iterated over by the tuple sequence this object creates.- Returns:
- approximate tuple count
-