|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.gis.AbstractGisFeature
public abstract class AbstractGisFeature
Abstract class that implements common methods for concrete implementations of GisFeature.
| Constructor Summary | |
|---|---|
AbstractGisFeature()
|
|
| Method Summary | |
|---|---|
abstract Rectangle2D |
getBounds2D()
_more_ |
abstract Iterator |
getGisParts()
_more_ |
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). |
abstract int |
getNumParts()
_more_ |
abstract int |
getNumPoints()
_more_ |
Shape |
getProjectedShape(ucar.unidata.geoloc.ProjectionImpl displayProject)
Convert this GisFeature to a java.awt.Shape. |
Shape |
getProjectedShape(ucar.unidata.geoloc.ProjectionImpl dataProject,
ucar.unidata.geoloc.ProjectionImpl 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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractGisFeature()
| Method Detail |
|---|
public abstract Rectangle2D getBounds2D()
getBounds2D in interface GisFeaturepublic abstract int getNumPoints()
getNumPoints in interface GisFeaturepublic abstract int getNumParts()
getNumParts in interface GisFeaturepublic abstract Iterator getGisParts()
getGisParts in interface GisFeaturepublic Shape getShape()
public Shape getProjectedShape(ucar.unidata.geoloc.ProjectionImpl displayProject)
displayProject - Projection to use.
public Shape getProjectedShape(ucar.unidata.geoloc.ProjectionImpl dataProject,
ucar.unidata.geoloc.ProjectionImpl displayProject)
dataProject - data Projection to use.displayProject - display Projection to use.
public SampledSet getMapLines()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||