|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.data.geometry.SRTransformations
@Deprecated public class SRTransformations
SRTransformations
is a utility class for projecting points to different spatial references.
Field Summary | |
---|---|
protected static Map<String,com.esri.sde.sdk.pe.PeGeogTransformations> |
geogTrans
Deprecated. |
protected static List<String> |
notAvailTrans
Deprecated. |
Constructor Summary | |
---|---|
SRTransformations()
Deprecated. |
Method Summary | |
---|---|
static boolean |
project(double[] coords,
int numCoords,
WebSpatialReference from,
WebSpatialReference to)
Deprecated. Projects an array of point coordinates from a given spatial reference from to a given spatial
reference to . |
static WebPoint[] |
project(WebPoint[] pts,
WebSpatialReference to)
Deprecated. Projects an array of WebPoint s to the given WebSpatialReference . |
static WebPoint |
project(WebPoint pt,
WebSpatialReference to)
Deprecated. Projects a given point to a given spatial reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Map<String,com.esri.sde.sdk.pe.PeGeogTransformations> geogTrans
protected static List<String> notAvailTrans
Constructor Detail |
---|
public SRTransformations()
Method Detail |
---|
public static WebPoint[] project(WebPoint[] pts, WebSpatialReference to)
WebPoint
s to the given WebSpatialReference
.
pts
- an array of WebPoint
sto
- a spatial reference
WebPoint
spublic static WebPoint project(WebPoint pt, WebSpatialReference to)
pt
- a point to projectto
- a spatial reference to be used in projection
public static boolean project(double[] coords, int numCoords, WebSpatialReference from, WebSpatialReference to)
from
to a given spatial
reference to
.
coords
- array of point coordinates in the following format: [x0,y0,x1,y1,…]numCoords
- number of occupied positions in the coords arrayfrom
- a spatial reference to convert fromto
- a spatial reference to convert to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |