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 StructureDatagetFeatureData()The data associated with the Section feature.PointFeatureCollectionIteratorgetPointFeatureCollectionIterator()Deprecated.use foreachbooleanhasNext()Deprecated.use foreachProfileFeaturenext()Deprecated.use foreachvoidresetIteration()Deprecated.use foreachintsize()The number of profiles along the trajectory.-
Methods inherited from interface ucar.nc2.ft.DsgFeatureCollection
getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, 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:
sizein 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 IOExceptionDeprecated.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 IOExceptionDeprecated.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
-
-