Package ucar.nc2.ui.gis
Interface GisFeature
-
- All Known Implementing Classes:
AbstractGisFeature,ContourFeature,EsriShapefile.EsriFeature,EsriShapefile.EsriMultipoint,EsriShapefile.EsriNull,EsriShapefile.EsriPoint,EsriShapefile.EsriPolygon,EsriShapefile.EsriPolyline,GisFeatureAdapter
public interface GisFeatureAn interface for GIS features, (analogous to ESRI Shapefile shapes). Created: Sat Feb 20 16:44:29 1999
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rectangle2DgetBounds2D()Get the bounding box for this feature.IteratorgetGisParts()Get the parts of this feature, in the form of an iterator.intgetNumParts()Get number of parts comprising this feature.intgetNumPoints()Get total number of points in all parts of this feature.
-
-
-
Method Detail
-
getBounds2D
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
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.
-
-