|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.data.geometry.WebGeometry
com.esri.adf.web.data.geometry.WebCircle
@Deprecated public class WebCircle
| Field Summary | |
|---|---|
protected WebPoint |
center
Deprecated. |
protected double |
radius
Deprecated. |
| Fields inherited from class com.esri.adf.web.data.geometry.WebGeometry |
|---|
spatialReference |
| Constructor Summary | |
|---|---|
WebCircle()
Deprecated. |
|
WebCircle(WebPoint center,
double radius)
Deprecated. |
|
WebCircle(WebSpatialReference spatialReference)
Deprecated. |
|
| Method Summary | |
|---|---|
WebCircle |
fromMapGeometry(WebMap webMap)
Deprecated. Converts a geometry in map coordinates to a geometry of the same type in screen coordinates. |
WebPoint |
getCenter()
Deprecated. |
java.lang.String |
getGeometryType()
Deprecated. Returns a text representing the type of the geometry. |
double |
getRadius()
Deprecated. |
WebCircle |
project(WebSpatialReference toSpatialReference)
Deprecated. Converts the geometry in map coordinates from the spatialReference of this geometry to a geometry in
the desired spatial reference. |
void |
setCenter(WebPoint center)
Deprecated. |
void |
setRadius(double radius)
Deprecated. |
WebCircle |
toMapGeometry(WebMap webMap)
Deprecated. Converts a geometry in screen coordinates to a geometry of the same type in map coordinates. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class com.esri.adf.web.data.geometry.WebGeometry |
|---|
equals, fromMapGeometry, getSpatialReference, hashCode, setSpatialReference, toMapGeometry |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected WebPoint center
protected double radius
| Constructor Detail |
|---|
public WebCircle()
public WebCircle(WebPoint center,
double radius)
public WebCircle(WebSpatialReference spatialReference)
| Method Detail |
|---|
public WebPoint getCenter()
public void setCenter(WebPoint center)
public double getRadius()
public void setRadius(double radius)
public java.lang.String getGeometryType()
WebGeometry
Returns a text representing the type of the geometry. WebGeometry objects of the same type must
return the same text.
getGeometryType in class WebGeometrypublic WebCircle toMapGeometry(WebMap webMap)
WebGeometry
Converts a geometry in screen coordinates to a geometry of the same type in map coordinates. The coordinate system
of the converted geometry is the same as the coordinate system of the WebMap.
toMapGeometry in class WebGeometrywebMap - The WebMap based on which the coordinates need to be converted
WebGeometry in map coordinatespublic WebCircle fromMapGeometry(WebMap webMap)
WebGeometry
Converts a geometry in map coordinates to a geometry of the same type in screen coordinates. Since the converted
geometry is a screen geometry, the coordinate system of the converted geometry will be null.
fromMapGeometry in class WebGeometrywebMap - The WebMap based on which the coordinates need to be converted
WebGeometry in screen coordinatespublic java.lang.String toString()
toString in class java.lang.Objectpublic WebCircle project(WebSpatialReference toSpatialReference)
WebGeometry
Converts the geometry in map coordinates from the spatialReference of this geometry to a geometry in
the desired spatial reference. If the desired spatial reference is same as that of this geometry, this same
geometry is returned. Otherwise, a new WebGeometry object is created and populated with the converted
coordinates. The type of the projected geometry is same as this geometry.
project in class WebGeometrytoSpatialReference - the desired spatial reference of the projected geometry
WebGeometry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||