thredds.datamodel.gis
Interface GisFeature

All Known Implementing Classes:
AbstractGisFeature, GisFeatureAdapter

public interface GisFeature

An interface for GIS features, (analogous to ESRI Shapefile shapes). Created: Sat Feb 20 16:44:29 1999

Version:
$Id:GisFeature.java 63 2006-07-12 21:50:51Z edavis $
Author:
Russ Rew

Method Summary
 java.awt.geom.Rectangle2D getBounds2D()
          Get the bounding box for this feature.
 java.util.Iterator getGisParts()
          Get the parts of this feature, in the form of an iterator.
 int getNumParts()
          Get number of parts comprising this feature.
 int getNumPoints()
          Get total number of points in all parts of this feature.
 

Method Detail

getBounds2D

java.awt.geom.Rectangle2D getBounds2D()
Get the bounding box for this feature.

Returns:
rectangle bounding this feature

getNumPoints

int getNumPoints()
Get total number of points in all parts of this feature.

Returns:
total number of points in all parts of this feature.

getNumParts

int getNumParts()
Get number of parts comprising this feature.

Returns:
number of parts comprising this feature.

getGisParts

java.util.Iterator getGisParts()
Get the parts of this feature, in the form of an iterator.

Returns:
the iterator over the parts of this feature. Each part is a GisPart.