public abstract class EsriShapefile.EsriFeature extends AbstractGisFeature
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.geom.Rectangle2D |
bounds
bounds of this feature
|
protected int |
numParts
number of parts
|
protected int |
numPoints
number of points
|
protected java.util.List |
partsList
the list of parts
|
| Constructor and Description |
|---|
EsriFeature() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Rectangle2D |
getBounds2D()
Get bounding rectangle 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.
|
protected void |
readNumPoints()
read the points
|
getMapLines, getMapLines, getPointCount, getProjectedShape, getProjectedShape, getShapeprotected java.awt.geom.Rectangle2D bounds
protected int numPoints
protected int numParts
protected java.util.List partsList
protected void readNumPoints()
throws java.io.IOException
java.io.IOException - on badnesspublic java.awt.geom.Rectangle2D getBounds2D()
getBounds2D in interface GisFeaturegetBounds2D in class AbstractGisFeaturepublic int getNumPoints()
getNumPoints in interface GisFeaturegetNumPoints in class AbstractGisFeaturepublic int getNumParts()
getNumParts in interface GisFeaturegetNumParts in class AbstractGisFeaturepublic java.util.Iterator getGisParts()
getGisParts in interface GisFeaturegetGisParts in class AbstractGisFeature