|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.geometry.MapGeometry
public final class MapGeometry

The MapGeometry class bundles the geometry with its spatial reference together. To work with a geometry object in a map it is necessary to have a spatial reference defined for this geometry.
| Constructor Summary | |
|---|---|
MapGeometry(Geometry g,
SpatialReference _sr)
Construct a MapGeometry instance using the specified geometry instance and its corresponding spatial reference. |
|
| Method Summary | |
|---|---|
Geometry |
getGeometry()
Gets the only geometry without the spatial reference from the MapGeometry. |
SpatialReference |
getSpatialReference()
Gets the spatial reference for this MapGeometry. |
void |
setGeometry(Geometry geometry)
Sets the geometry for this MapGeometry. |
void |
setSpatialReference(SpatialReference sr)
Sets the spatial reference for this MapGeometry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapGeometry(Geometry g,
SpatialReference _sr)
g - The geometry to construct the new MapGeometry object._sr - The spatial reference of the geometry.| Method Detail |
|---|
public Geometry getGeometry()
public void setGeometry(Geometry geometry)
geometry - The geometry.public void setSpatialReference(SpatialReference sr)
sr - The spatial reference.public SpatialReference getSpatialReference()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||