com.esri.sde.sdk.pe
Class PeCSTransformations

java.lang.Object
  extended by com.esri.sde.sdk.pe.PeCSTransformations

public final class PeCSTransformations
extends java.lang.Object

Converts coordinates from one coordinate system to another.


Constructor Summary
PeCSTransformations()
           
 
Method Summary
static int adjhcsToCoordsys(PeAdjHCS adjhcs, int n, double[][] coord)
           
static int coordsysToAdjhcs(PeAdjHCS adjhcs, int n, double[][] coord)
           
static int geog1ToGeog2(PeGeogTransformations geogtran, int n, double[] coord, double[] h)
          Deprecated. This will be removed after version 10.0. It is replaced by PeGTTransformations.geog1ToGeog2(com.esri.sde.sdk.pe.PeGeogTransformations, int, double[], double[]).
static int geog2ToGeog1(PeGeogTransformations geogtran, int n, double[] coord, double[] h)
          Deprecated. This will be removed after version 10.0. It is replaced by PeGTTransformations.geog2ToGeog1(com.esri.sde.sdk.pe.PeGeogTransformations, int, double[], double[]).
static int geogToGeog(PeGeogTransformations geogtran, int n, double[] coord, double[] h, int transformDirection)
          Deprecated. This will be removed after version 10.0. It is replaced by PeGTTransformations.geogToGeog(com.esri.sde.sdk.pe.PeGeogTransformations, int, double[], double[], int).
static int geogToProj(PeProjectedCS projcs, int n, double[] coord)
          Transform coordinates from a geographic to projected coordinate system.
static int projGeog(PeProjectedCS projcs, int n, double[] coord, int transformDirection)
          generic PROJCS/GEOGCS transformations
static int projToGeog(PeProjectedCS projcs, int n, double[] coord)
          Transform coordinates from a projected to geographic coordinate system.
static int projToGeogCenter(PeProjectedCS projcs, int n, double[] coord, double center_lam)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeCSTransformations

public PeCSTransformations()
Method Detail

projGeog

public static int projGeog(PeProjectedCS projcs,
                           int n,
                           double[] coord,
                           int transformDirection)
                    throws PeProjectionException
generic PROJCS/GEOGCS transformations

Throws:
PeProjectionException

geogToProj

public static int geogToProj(PeProjectedCS projcs,
                             int n,
                             double[] coord)
                      throws PeProjectionException
Transform coordinates from a geographic to projected coordinate system.

Parameters:
projcs - (PeProjectedCS)the projected coordsys transformation method
n - (int) the number of coordinate points
coord - (double[]) the array of coordinate points [x1, y1.. xn, yn]
Throws:
PeProjectionException

projToGeog

public static int projToGeog(PeProjectedCS projcs,
                             int n,
                             double[] coord)
                      throws PeProjectionException
Transform coordinates from a projected to geographic coordinate system.

Parameters:
projcs - (PeProjectedCS)the projected coordsys transformation method
n - (int) the number of coordinate points
coord - (double[]) the array of coordinate points [x1, y1.. xn, yn]
Throws:
PeProjectionException

projToGeogCenter

public static int projToGeogCenter(PeProjectedCS projcs,
                                   int n,
                                   double[] coord,
                                   double center_lam)
                            throws PeProjectionException
Throws:
PeProjectionException

coordsysToAdjhcs

public static int coordsysToAdjhcs(PeAdjHCS adjhcs,
                                   int n,
                                   double[][] coord)
                            throws PeProjectionException
Throws:
PeProjectionException

adjhcsToCoordsys

public static int adjhcsToCoordsys(PeAdjHCS adjhcs,
                                   int n,
                                   double[][] coord)
                            throws PeProjectionException
Throws:
PeProjectionException

geogToGeog

public static int geogToGeog(PeGeogTransformations geogtran,
                             int n,
                             double[] coord,
                             double[] h,
                             int transformDirection)
                      throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeGTTransformations.geogToGeog(com.esri.sde.sdk.pe.PeGeogTransformations, int, double[], double[], int).

generic GEOGCS/GEOGCS transformations

Throws:
PeProjectionException

geog1ToGeog2

public static int geog1ToGeog2(PeGeogTransformations geogtran,
                               int n,
                               double[] coord,
                               double[] h)
                        throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeGTTransformations.geog1ToGeog2(com.esri.sde.sdk.pe.PeGeogTransformations, int, double[], double[]).

Transforms points from the 1st to the 2nd geographic coordinate systems.

Throws:
PeProjectionException

geog2ToGeog1

public static int geog2ToGeog1(PeGeogTransformations geogtran,
                               int n,
                               double[] coord,
                               double[] h)
                        throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeGTTransformations.geog2ToGeog1(com.esri.sde.sdk.pe.PeGeogTransformations, int, double[], double[]).

Transforms points from the 2nd to the 1st geographic coordinate systems.

Throws:
PeProjectionException