public abstract class AbstractGisFeature extends Object implements GisFeature
| Constructor and Description |
|---|
AbstractGisFeature() |
| Modifier and Type | Method and Description |
|---|---|
abstract Rectangle2D |
getBounds2D()
Get the bounding box for this feature.
|
abstract int |
getNumParts()
Get number of parts comprising this feature.
|
abstract int |
getNumPoints()
Get total number of points in all parts of this feature.
|
Shape |
getProjectedShape(ucar.unidata.geoloc.Projection dataProject,
ucar.unidata.geoloc.Projection displayProject)
Convert this GisFeature to a java.awt.Shape.
|
Shape |
getShape()
Convert this GisFeature to a java.awt.Shape, using the default
coordinate system, mapping gisFeature(x,y) -> screen(x,y).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, iterator, spliteratorpublic abstract Rectangle2D getBounds2D()
GisFeaturegetBounds2D in interface GisFeaturepublic abstract int getNumPoints()
GisFeaturegetNumPoints in interface GisFeaturepublic abstract int getNumParts()
GisFeaturegetNumParts in interface GisFeaturepublic Shape getShape()
public Shape getProjectedShape(ucar.unidata.geoloc.Projection dataProject, ucar.unidata.geoloc.Projection displayProject)
dataProject - data Projection to use.displayProject - display Projection to use.