|
|||||||||
| 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 java.util.Map<java.lang.String,com.esri.sde.sdk.pe.PeGeogTransformations> |
geogTrans
Deprecated. |
protected static java.util.List<java.lang.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 WebPoints 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 java.util.Map<java.lang.String,com.esri.sde.sdk.pe.PeGeogTransformations> geogTrans
protected static java.util.List<java.lang.String> notAvailTrans
| Constructor Detail |
|---|
public SRTransformations()
| Method Detail |
|---|
public static WebPoint[] project(WebPoint[] pts,
WebSpatialReference to)
WebPoints to the given WebSpatialReference.
pts - an array of WebPointsto - a spatial reference
WebPoints
public 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 | ||||||||