|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthredds.datamodel.gis.AbstractGisFeature
public abstract class AbstractGisFeature
Abstract class that implements common methods for concrete implementations of GisFeature.
| Constructor Summary | |
|---|---|
AbstractGisFeature()
|
|
| Method Summary | |
|---|---|
abstract java.awt.geom.Rectangle2D |
getBounds2D()
Get the bounding box for this feature. |
abstract java.util.Iterator |
getGisParts()
Get the parts of this feature, in the form of an iterator. |
abstract int |
getNumParts()
Get number of parts comprising this feature. |
abstract int |
getNumPoints()
Get total number of points in all parts of this feature. |
java.awt.Shape |
getProjectedShape(ProjectionImpl displayProject)
Convert this GisFeature to a java.awt.Shape. |
java.awt.Shape |
getProjectedShape(ProjectionImpl dataProject,
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). |
| 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 java.awt.geom.Rectangle2D getBounds2D()
GisFeature
getBounds2D in interface GisFeaturepublic abstract int getNumPoints()
GisFeature
getNumPoints in interface GisFeaturepublic abstract int getNumParts()
GisFeature
getNumParts in interface GisFeaturepublic abstract java.util.Iterator getGisParts()
GisFeature
getGisParts in interface GisFeaturepublic java.awt.Shape getShape()
public java.awt.Shape getProjectedShape(ProjectionImpl displayProject)
displayProject - Projection to use to display
public java.awt.Shape getProjectedShape(ProjectionImpl dataProject,
ProjectionImpl displayProject)
dataProject - data Projection to use.displayProject - display Projection to use.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||