public abstract class AbstractGisFeature extends java.lang.Object implements GisFeature
Constructor and Description |
---|
AbstractGisFeature() |
Modifier and Type | Method and Description |
---|---|
abstract java.awt.geom.Rectangle2D |
getBounds2D()
_more_
|
abstract java.util.Iterator |
getGisParts()
_more_
|
visad.SampledSet |
getMapLines()
Convert a GisFeature to a visad.SampledSet, which is either a
single Gridded2DSet (if there is only one part to the feature)
or a UnionSet of Gridded2DSet (if there are multiple parts).
|
visad.SampledSet |
getMapLines(java.awt.geom.Rectangle2D bbox)
Convert a GisFeature to a visad.SampledSet, which is either a
single Gridded2DSet (if there is only one part to the feature)
or a UnionSet of Gridded2DSet (if there are multiple parts).
|
abstract int |
getNumParts()
_more_
|
abstract int |
getNumPoints()
_more_
|
int |
getPointCount() |
java.awt.Shape |
getProjectedShape(ucar.unidata.geoloc.ProjectionImpl displayProject)
Convert this GisFeature to a java.awt.Shape.
|
java.awt.Shape |
getProjectedShape(ucar.unidata.geoloc.ProjectionImpl dataProject,
ucar.unidata.geoloc.ProjectionImpl displayProject)
Convert this GisFeature to a java.awt.Shape.
|
java.awt.Shape |
getShape()
Convert this GisFeature to a java.awt.Shape, using the default
coordinate system, mapping gisFeature(x,y) -> screen(x,y).
|
public abstract java.awt.geom.Rectangle2D getBounds2D()
getBounds2D
in interface GisFeature
public abstract int getNumPoints()
getNumPoints
in interface GisFeature
public abstract int getNumParts()
getNumParts
in interface GisFeature
public abstract java.util.Iterator getGisParts()
getGisParts
in interface GisFeature
public java.awt.Shape getShape()
public java.awt.Shape getProjectedShape(ucar.unidata.geoloc.ProjectionImpl displayProject)
displayProject
- Projection to use.public java.awt.Shape getProjectedShape(ucar.unidata.geoloc.ProjectionImpl dataProject, ucar.unidata.geoloc.ProjectionImpl displayProject)
dataProject
- data Projection to use.displayProject
- display Projection to use.public int getPointCount()
public visad.SampledSet getMapLines()
public visad.SampledSet getMapLines(java.awt.geom.Rectangle2D bbox)