|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthredds.datamodel.gis.AbstractGisFeature
thredds.datamodel.gis.GisFeatureAdapter
public class GisFeatureAdapter
This adapts a Gisfeature into a subclass of AbstractGisFeature. Part of te ADT middleware pattern.
| Constructor Summary | |
|---|---|
GisFeatureAdapter(GisFeature gisFeature)
|
|
| Method Summary | |
|---|---|
java.awt.geom.Rectangle2D |
getBounds2D()
Get the bounding box 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. |
| Methods inherited from class thredds.datamodel.gis.AbstractGisFeature |
|---|
getProjectedShape, getProjectedShape, getShape |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GisFeatureAdapter(GisFeature gisFeature)
| Method Detail |
|---|
public java.awt.geom.Rectangle2D getBounds2D()
getBounds2D in interface GisFeaturegetBounds2D in class AbstractGisFeaturepublic int getNumPoints()
getNumPoints in interface GisFeaturegetNumPoints in class AbstractGisFeaturepublic int getNumParts()
getNumParts in interface GisFeaturegetNumParts in class AbstractGisFeaturepublic java.util.Iterator getGisParts()
getGisParts in interface GisFeaturegetGisParts in class AbstractGisFeature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||