|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.data.geometry.GeometryOperations
public abstract class GeometryOperations
This class encapsulates the different geometric operations that can be performed on WebGeometry objects.
Constructor Summary | |
---|---|
GeometryOperations()
|
Method Summary | |
---|---|
static GeometryOperations |
getDefaultInstance()
Returns the implementation for performing geometric operations. |
abstract List<WebGeometry> |
project(List<? extends WebGeometry> geometries,
WebSpatialReference toSR)
Projects the list of geometries to the specified spatial reference. |
abstract WebGeometry |
project(WebGeometry geometry,
WebSpatialReference toSR)
Projects the geometry to the specified spatial reference. |
static void |
setDefaultInstance(GeometryOperations operations)
Sets the instance that should be used for performing geometric operations. |
abstract String |
toString()
Returns the user friendly name for the concrete implementation class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GeometryOperations()
Method Detail |
---|
public static final GeometryOperations getDefaultInstance()
WebGeometryOperations
is used.
public static final void setDefaultInstance(GeometryOperations operations)
WebGeometryOperations
is used. This method should be called only once, subsequent
invocations will not have any effect.
operations
- a concrete implementation of GeometryOperations classpublic abstract List<WebGeometry> project(List<? extends WebGeometry> geometries, WebSpatialReference toSR)
geometries
- the geometries to projecttoSR
- the spatial reference to which the geometries are to be projected
java.util.List
of projected geometriespublic abstract WebGeometry project(WebGeometry geometry, WebSpatialReference toSR)
geometry
- the geometry to projecttoSR
- the spatial reference to which the geometry to be projected
public abstract String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |