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, getShape
protected 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 GisFeature
getBounds2D
in class AbstractGisFeature
public int getNumPoints()
getNumPoints
in interface GisFeature
getNumPoints
in class AbstractGisFeature
public int getNumParts()
getNumParts
in interface GisFeature
getNumParts
in class AbstractGisFeature
public java.util.Iterator getGisParts()
getGisParts
in interface GisFeature
getGisParts
in class AbstractGisFeature