|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.gis.AbstractGisFeature
ucar.unidata.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)
_more_ |
|
| Method Summary | |
|---|---|
Rectangle2D |
getBounds2D()
Get the bounding box for this feature. |
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 ucar.unidata.gis.AbstractGisFeature |
|---|
getMapLines, 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)
gisFeature - | Method Detail |
|---|
public 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 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 | |||||||||