ucar.nc2.ft
Interface TrajectoryFeature

All Superinterfaces:
FeatureCollection, PointFeatureCollection

public interface TrajectoryFeature
extends PointFeatureCollection

A set of observations along a 1 dimensional path, connected in space and time. The observations are ordered in time (in other words, the time dimension must increase monotonically along the trajectory).

Author:
edavis, caron

Method Summary
 LatLonRect getBoundingBox()
          BoundingBox for the trajectory.
 DateRange getDateRange()
          DateRange for the points along the trajectory.
 int size()
          The number of points along the trajectory.
 
Methods inherited from interface ucar.nc2.ft.PointFeatureCollection
calcBounds, finish, getPointFeatureIterator, hasNext, next, resetIteration, setBoundingBox, setDateRange, setSize, subset
 
Methods inherited from interface ucar.nc2.ft.FeatureCollection
getCollectionFeatureType, getName
 

Method Detail

size

int size()
The number of points along the trajectory. May not be known until after iterating through the collection.

Specified by:
size in interface PointFeatureCollection
Returns:
number of points along the trajectory, or -1 if not known.

getDateRange

DateRange getDateRange()
DateRange for the points along the trajectory. May not be known until after iterating through the collection.

Specified by:
getDateRange in interface PointFeatureCollection
Returns:
stating date for the trajectory, or null if not known

getBoundingBox

LatLonRect getBoundingBox()
BoundingBox for the trajectory. May not be known until after iterating through the collection.

Specified by:
getBoundingBox in interface PointFeatureCollection
Returns:
BoundingBox for the trajectory, or null if not known.