ucar.nc2.ft.point
Class ProfileFeatureImpl

java.lang.Object
  extended by ucar.nc2.ft.point.PointCollectionImpl
      extended by ucar.nc2.ft.point.ProfileFeatureImpl
All Implemented Interfaces:
FeatureCollection, PointFeatureCollection, ProfileFeature

public abstract class ProfileFeatureImpl
extends PointCollectionImpl
implements ProfileFeature

Abstract superclass for implementations of ProfileFeature.

Since:
Feb 29, 2008
Author:
caron

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.nc2.ft.point.PointCollectionImpl
PointCollectionImpl.PointCollectionSubset
 
Field Summary
protected  double time
           
 
Fields inherited from class ucar.nc2.ft.point.PointCollectionImpl
boundingBox, dateRange, localIterator, name, npts
 
Constructor Summary
ProfileFeatureImpl(String name, double lat, double lon, double time, int npts)
           
 
Method Summary
 FeatureType getCollectionFeatureType()
          All features in this collection have this feature type
 Object getId()
           
 LatLonPoint getLatLon()
          Nominal location of this profile
 
Methods inherited from class ucar.nc2.ft.point.PointCollectionImpl
calcBounds, finish, getBoundingBox, getDateRange, getName, hasNext, next, resetIteration, setBoundingBox, setDateRange, setSize, size, subset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ucar.nc2.ft.ProfileFeature
getTime, size
 
Methods inherited from interface ucar.nc2.ft.PointFeatureCollection
calcBounds, finish, getBoundingBox, getDateRange, getPointFeatureIterator, hasNext, next, resetIteration, setBoundingBox, setDateRange, setSize, subset
 
Methods inherited from interface ucar.nc2.ft.FeatureCollection
getName
 

Field Detail

time

protected double time
Constructor Detail

ProfileFeatureImpl

public ProfileFeatureImpl(String name,
                          double lat,
                          double lon,
                          double time,
                          int npts)
Method Detail

getLatLon

public LatLonPoint getLatLon()
Description copied from interface: ProfileFeature
Nominal location of this profile

Specified by:
getLatLon in interface ProfileFeature
Returns:
the nominal location of this profile

getId

public Object getId()

getCollectionFeatureType

public FeatureType getCollectionFeatureType()
Description copied from interface: FeatureCollection
All features in this collection have this feature type

Specified by:
getCollectionFeatureType in interface FeatureCollection
Overrides:
getCollectionFeatureType in class PointCollectionImpl
Returns:
the feature type


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.