com.esri.sde.sdk.pe
Class PeProjection

java.lang.Object
  extended by com.esri.sde.sdk.pe.PeObject
      extended by com.esri.sde.sdk.pe.PeProjection
All Implemented Interfaces:
java.lang.Cloneable

public final class PeProjection
extends PeObject

This class defines a map projection object.

A Projection has the following attributes:

name The name of the projection.
forward The forward (from geographic to projected coordinates) function of the projection.
inverse The inverse (from projected to geographic coordinates) function of the projection.


Constructor Summary
PeProjection(java.lang.String str)
          Constructor.
PeProjection(java.lang.String name, com.esri.sde.sdk.pe.PeProjectionFunction forward, com.esri.sde.sdk.pe.PeProjectionFunction inverse, com.esri.sde.sdk.pe.PeHorizonFunction horizonGCS)
          Constructor with constfunc.
 
Method Summary
 java.lang.Object clone()
          Clone a projection.
 void delete()
          Destructor.
static PeProjection fromString(java.lang.String str)
          Construct a projection object from string.
 PeAuthority getAuth()
          Retrieve a projection's authority.
 int getCode()
           
 com.esri.sde.sdk.pe.PeProjectionFunction getForward()
          Retrieve a projection's forward function.
 com.esri.sde.sdk.pe.PeHorizonFunction getHorizonGcs()
          Retrieve a projection's horizon function.
 com.esri.sde.sdk.pe.PeHorizonFunction getHorizonGcsRaster()
          Retrieve a projection's horizon_gcs_raster function.
 com.esri.sde.sdk.pe.PeHorizonFunction getHorizonPcs()
          Retrieve a projection's horizon_pcs function.
 com.esri.sde.sdk.pe.PeHorizonFunction getHorizonPcsRaster()
          Retrieve a projection's horizon_pcs_raster function.
 com.esri.sde.sdk.pe.PeProjectionFunction getInverse()
          Retrieve a projection's inverse function.
 java.lang.String getName()
          Retrieve a projection's name.
 com.esri.sde.sdk.pe.PePCSConstFunction getPCSConstFunc()
          Retrieve a projection's pcsconstfunc function.
 int getStatus()
          Get this object's status.
 int getType()
          Retrieve a projection's type.
 boolean isEqual(PeObject peobj)
          Check if both objects are equal.
 boolean isEqual(PeProjection projection)
          Test if two projections are identical.
 void setAuth(PeAuthority authority)
          Store an authority in a projection.
 java.lang.String toString()
          Retrieve a projection's external representation.
 java.lang.String toString(int mode)
          Retrieve a projection's extended external representation.
 
Methods inherited from class com.esri.sde.sdk.pe.PeObject
fromAnyString, fromStringByType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeProjection

public PeProjection(java.lang.String name,
                    com.esri.sde.sdk.pe.PeProjectionFunction forward,
                    com.esri.sde.sdk.pe.PeProjectionFunction inverse,
                    com.esri.sde.sdk.pe.PeHorizonFunction horizonGCS)
             throws PeProjectionException
Constructor with constfunc.

Throws:
PeProjectionException

PeProjection

public PeProjection(java.lang.String str)
             throws PeProjectionException
Constructor.

Throws:
PeProjectionException
Method Detail

fromString

public static PeProjection fromString(java.lang.String str)
                               throws PeProjectionException
Construct a projection object from string.

Throws:
PeProjectionException

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone a projection.

Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

delete

public void delete()
Destructor.

Specified by:
delete in class PeObject

getName

public java.lang.String getName()
Retrieve a projection's name.

Specified by:
getName in class PeObject

getType

public int getType()
Retrieve a projection's type.

Specified by:
getType in class PeObject

getStatus

public int getStatus()
Get this object's status.

Specified by:
getStatus in class PeObject

isEqual

public boolean isEqual(PeObject peobj)
Check if both objects are equal.

Specified by:
isEqual in class PeObject

isEqual

public boolean isEqual(PeProjection projection)
Test if two projections are identical.


toString

public java.lang.String toString()
Retrieve a projection's external representation.

Specified by:
toString in class PeObject

toString

public java.lang.String toString(int mode)
Retrieve a projection's extended external representation.

Specified by:
toString in class PeObject

getAuth

public PeAuthority getAuth()
Retrieve a projection's authority.

Specified by:
getAuth in class PeObject

setAuth

public void setAuth(PeAuthority authority)
Store an authority in a projection.

Specified by:
setAuth in class PeObject

getForward

public com.esri.sde.sdk.pe.PeProjectionFunction getForward()
Retrieve a projection's forward function.


getInverse

public com.esri.sde.sdk.pe.PeProjectionFunction getInverse()
Retrieve a projection's inverse function.


getHorizonGcs

public com.esri.sde.sdk.pe.PeHorizonFunction getHorizonGcs()
Retrieve a projection's horizon function.


getHorizonPcs

public com.esri.sde.sdk.pe.PeHorizonFunction getHorizonPcs()
Retrieve a projection's horizon_pcs function.


getHorizonGcsRaster

public com.esri.sde.sdk.pe.PeHorizonFunction getHorizonGcsRaster()
Retrieve a projection's horizon_gcs_raster function.


getHorizonPcsRaster

public com.esri.sde.sdk.pe.PeHorizonFunction getHorizonPcsRaster()
Retrieve a projection's horizon_pcs_raster function.


getPCSConstFunc

public com.esri.sde.sdk.pe.PePCSConstFunction getPCSConstFunc()
Retrieve a projection's pcsconstfunc function.


getCode

public int getCode()
Specified by:
getCode in class PeObject