|
|||||||||
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.WebOval
@Deprecated public class WebOval
Field Summary | |
---|---|
protected WebPoint |
center
Deprecated. |
protected double |
height
Deprecated. |
protected double |
width
Deprecated. |
Fields inherited from class com.esri.adf.web.data.geometry.WebGeometry |
---|
spatialReference |
Constructor Summary | |
---|---|
WebOval()
Deprecated. |
|
WebOval(WebPoint center,
double width,
double height)
Deprecated. |
|
WebOval(WebSpatialReference spatialReference)
Deprecated. |
Method Summary | |
---|---|
WebOval |
fromMapGeometry(WebMap webMap)
Deprecated. Converts a geometry in map coordinates to a geometry of the same type in screen coordinates. |
WebPoint |
getCenter()
Deprecated. |
String |
getGeometryType()
Deprecated. Returns a text representing the type of the geometry. |
double |
getHeight()
Deprecated. |
double |
getWidth()
Deprecated. |
WebOval |
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 |
setHeight(double height)
Deprecated. |
void |
setWidth(double width)
Deprecated. |
WebOval |
toMapGeometry(WebMap webMap)
Deprecated. Converts a geometry in screen coordinates to a geometry of the same type in map coordinates. |
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 width
protected double height
Constructor Detail |
---|
public WebOval()
public WebOval(WebPoint center, double width, double height)
public WebOval(WebSpatialReference spatialReference)
Method Detail |
---|
public WebPoint getCenter()
public void setCenter(WebPoint center)
public double getHeight()
public void setHeight(double height)
public double getWidth()
public void setWidth(double width)
public 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 WebGeometry
public WebOval 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 WebGeometry
webMap
- The WebMap
based on which the coordinates need to be converted
WebGeometry
in map coordinatespublic WebOval 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 WebGeometry
webMap
- The WebMap
based on which the coordinates need to be converted
WebGeometry
in screen coordinatespublic String toString()
toString
in class Object
public WebOval 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 WebGeometry
toSpatialReference
- 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 |