com.esri.adf.web.data.geometry
Class WebGeometryOperations

java.lang.Object
  extended by com.esri.adf.web.data.geometry.GeometryOperations
      extended by com.esri.adf.web.data.geometry.WebGeometryOperations
All Implemented Interfaces:
Serializable

public class WebGeometryOperations
extends GeometryOperations

See Also:
Serialized Form

Constructor Summary
WebGeometryOperations()
           
 
Method Summary
 List<WebGeometry> project(List<? extends WebGeometry> geometries, WebSpatialReference toSR)
          Projects the list of geometries to the specified spatial reference.
 WebGeometry project(WebGeometry geometry, WebSpatialReference toSR)
          Projects the geometry to the specified spatial reference.
 String toString()
          Returns the user friendly name for the concrete implementation class.
 
Methods inherited from class com.esri.adf.web.data.geometry.GeometryOperations
getDefaultInstance, setDefaultInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebGeometryOperations

public WebGeometryOperations()
Method Detail

project

public List<WebGeometry> project(List<? extends WebGeometry> geometries,
                                 WebSpatialReference toSR)
Description copied from class: GeometryOperations
Projects the list of geometries to the specified spatial reference. Also all the geometries that are passed must be in the same spatial reference.

Specified by:
project in class GeometryOperations
Parameters:
geometries - the geometries to project
toSR - the spatial reference to which the geometries are to be projected
Returns:
a java.util.List of projected geometries

project

public WebGeometry project(WebGeometry geometry,
                           WebSpatialReference toSR)
Description copied from class: GeometryOperations
Projects the geometry to the specified spatial reference.

Specified by:
project in class GeometryOperations
Parameters:
geometry - the geometry to project
toSR - the spatial reference to which the geometry to be projected
Returns:
the projected geometry

toString

public String toString()
Description copied from class: GeometryOperations
Returns the user friendly name for the concrete implementation class.

Specified by:
toString in class GeometryOperations