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.PointFeatureCollectionSubset
 
Field Summary
 
Fields inherited from class ucar.nc2.ft.point.PointCollectionImpl
boundingBox, dateRange, localIterator, name, npts
 
Constructor Summary
ProfileFeatureImpl(java.lang.String name, double lat, double lon, int npts)
           
 
Method Summary
 FeatureType getCollectionFeatureType()
          All features in this collection have this feature type
 java.lang.Object getId()
           
 LatLonPoint getLatLon()
          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
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
 

Constructor Detail

ProfileFeatureImpl

public ProfileFeatureImpl(java.lang.String name,
                          double lat,
                          double lon,
                          int npts)
Method Detail

getLatLon

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

Specified by:
getLatLon in interface ProfileFeature
Returns:
the location of this observation as a lat/lon point

getId

public java.lang.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