Package ucar.nc2.ft
Interface TrajectoryProfileFeature
-
- All Superinterfaces:
DsgFeatureCollection
,Iterable<ProfileFeature>
,PointFeatureCC
- All Known Implementing Classes:
SectionFeatureImpl
public interface TrajectoryProfileFeature extends PointFeatureCC, Iterable<ProfileFeature>
A collection of profiles which originate along a trajectory.- Since:
- Mar 18, 2008
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StructureData
getFeatureData()
The data associated with the Section feature.PointFeatureCollectionIterator
getPointFeatureCollectionIterator()
Deprecated.use foreachboolean
hasNext()
Deprecated.use foreachProfileFeature
next()
Deprecated.use foreachvoid
resetIteration()
Deprecated.use foreachint
size()
The number of profiles along the trajectory.-
Methods inherited from interface ucar.nc2.ft.DsgFeatureCollection
getAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface ucar.nc2.ft.PointFeatureCC
getCollectionIterator
-
-
-
-
Method Detail
-
size
int size()
The number of profiles along the trajectory.- Specified by:
size
in interfaceDsgFeatureCollection
- Returns:
- number of profiles along the trajectory, or -1 if not known.
-
getFeatureData
@Nonnull StructureData getFeatureData() throws IOException
The data associated with the Section feature.- Returns:
- the actual data of this section. may be empty, not null.
- Throws:
IOException
-
hasNext
boolean hasNext() throws IOException
Deprecated.use foreachUse the internal iterator to check if there is another ProfileFeature in the iteration.- Returns:
- true is there is another Section in the iteration.
- Throws:
IOException
- on read error
-
next
ProfileFeature next() throws IOException
Deprecated.use foreachUse the internal iterator to get the next ProfileFeature in the iteration. You must call hasNext() before you call this.- Returns:
- the next ProfileFeature in the iteration
- Throws:
IOException
- on read error
-
resetIteration
void resetIteration() throws IOException
Deprecated.use foreachReset the internal iterator for another iteration over the ProfileFeature in this Collection.- Throws:
IOException
- on read error
-
getPointFeatureCollectionIterator
PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws IOException
Deprecated.use foreach- Throws:
IOException
-
-