Package ucar.nc2.ui.gis.shapefile
Class EsriShapefile.EsriFeature
- java.lang.Object
-
- ucar.nc2.ui.gis.AbstractGisFeature
-
- ucar.nc2.ui.gis.shapefile.EsriShapefile.EsriFeature
-
- All Implemented Interfaces:
GisFeature
- Direct Known Subclasses:
EsriShapefile.EsriMultipoint
,EsriShapefile.EsriNull
,EsriShapefile.EsriPoint
,EsriShapefile.EsriPolygon
,EsriShapefile.EsriPolyline
- Enclosing class:
- EsriShapefile
public abstract static class EsriShapefile.EsriFeature extends AbstractGisFeature
EsriFeature.java Created: Sat Feb 20 17:19:53 1999
-
-
Field Summary
Fields Modifier and Type Field Description protected Rectangle2D
bounds
-
Constructor Summary
Constructors Constructor Description EsriFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rectangle2D
getBounds2D()
Get bounding rectangle for this feature.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.String
toString()
-
Methods inherited from class ucar.nc2.ui.gis.AbstractGisFeature
getProjectedShape, getShape
-
-
-
-
Field Detail
-
bounds
protected Rectangle2D bounds
-
-
Method Detail
-
getBounds2D
public Rectangle2D getBounds2D()
Get bounding rectangle for this feature.- Specified by:
getBounds2D
in interfaceGisFeature
- Specified by:
getBounds2D
in classAbstractGisFeature
- Returns:
- bounding rectangle for this feature.
-
getNumPoints
public int getNumPoints()
Get total number of points in all parts of this feature.- Specified by:
getNumPoints
in interfaceGisFeature
- Specified by:
getNumPoints
in classAbstractGisFeature
- Returns:
- total number of points in all parts of this feature.
-
getNumParts
public int getNumParts()
Get number of parts comprising this feature.- Specified by:
getNumParts
in interfaceGisFeature
- Specified by:
getNumParts
in classAbstractGisFeature
- Returns:
- number of parts comprising this feature.
-
getGisParts
public Iterator getGisParts()
Get the parts of this feature, in the form of an iterator.- Specified by:
getGisParts
in interfaceGisFeature
- Specified by:
getGisParts
in classAbstractGisFeature
- Returns:
- the iterator over the parts of this feature. Each part is a GisPart.
-
-