com.esri.sde.sdk.geom
Class SeCoordRef

java.lang.Object
  extended by com.esri.sde.sdk.geom.SeCoordRef
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class SeCoordRef
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

This class represents a coordinate reference. A coordinate reference includes the coordinate system and a set of offset and scale values that convert floating point real-world values into integers for internal storage in the SDE layer.

See Also:
Serialized Form

Constructor Summary
SeCoordRef()
          Constructs a coordinate reference object.
 
Method Summary
 SeCoordRef duplicate()
          Returns a duplicate of this coordinate reference object.
 PeCoordinateSystem getCoordSys()
          Returns the coordinate reference system.
 double getFalseM()
          Returns the m false origin for this coordinate reference object.
 double getFalseX()
          Returns the x false origin for this coordinate reference object.
 double getFalseY()
          Returns the y false origin for this coordinate reference object.
 double getFalseZ()
          Returns the z false origin for this coordinate reference object.
 double getMUnits()
          Returns the m scale factor for this coordinate reference object.
 java.lang.String getProjectionStr()
          Returns projection as a string.
 int getSrid()
          Returns the database spatial reference ID that was used to define this coordinate reference object.
 double getXYUnits()
          Returns the xy scale factor for this coordinate reference object.
 double getZUnits()
          Returns the z scale factor for this coordinate reference object.
 boolean isEqual(SeCoordRef cRefB)
          Returns true if both coordinate reference objects are equal.
 void setFalseM(double falseM)
          Sets the m false origin for this coordinate reference object.
 void setFalseX(double falseX)
          Sets the x false origin for this coordinate reference object.
 void setFalseY(double falseY)
          Sets the y false origin for this coordinate reference object.
 void setFalseZ(double falseZ)
          Sets the z false origin for this coordinate reference object.
 void setM(double falseM, double mUnits)
          Sets the measure false origin and scale factor of this coordinate reference object
 void setMUnits(double mUnits)
          Sets the m scale units for this coordinate reference object.
 void setProjectionStr(java.lang.String projstr)
          Returns the x false origin for this coordinate reference object.
 void setSrid(int srid)
          Returns the x false origin for this coordinate reference object.
 void setXY(double falseX, double falseY, double xyUnits)
          Sets the xy false origin and scale factor for this coordinate reference object.
 void setXYByExtent(SeEnvelope env)
          Calculates and sets the x,y false origin and scale factor of this coordinate reference object from the given envelope.
 void setXYUnits(double xyUnits)
          Sets the xy scale factor for this coordinate reference object.
 void setZ(double falseZ, double zUnits)
          Sets the z false origin and scale factor of this coordinate reference object.
 void setZUnits(double zUnits)
          Sets the z scale factor for this coordinate reference object.
 java.lang.String toString()
          Returns the x false origin for this coordinate reference object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SeCoordRef

public SeCoordRef()
Constructs a coordinate reference object.

Method Detail

duplicate

public SeCoordRef duplicate()
                     throws com.esri.sde.sdk.sg.SgException
Returns a duplicate of this coordinate reference object.

Throws:
com.esri.sde.sdk.sg.SgException

getFalseX

public double getFalseX()
Returns the x false origin for this coordinate reference object.


getFalseY

public double getFalseY()
Returns the y false origin for this coordinate reference object.


getXYUnits

public double getXYUnits()
Returns the xy scale factor for this coordinate reference object.


getFalseZ

public double getFalseZ()
Returns the z false origin for this coordinate reference object.


getZUnits

public double getZUnits()
Returns the z scale factor for this coordinate reference object.


getFalseM

public double getFalseM()
Returns the m false origin for this coordinate reference object.


getMUnits

public double getMUnits()
Returns the m scale factor for this coordinate reference object.


isEqual

public boolean isEqual(SeCoordRef cRefB)
Returns true if both coordinate reference objects are equal.


setFalseX

public void setFalseX(double falseX)
Sets the x false origin for this coordinate reference object.


setFalseY

public void setFalseY(double falseY)
Sets the y false origin for this coordinate reference object.


setXYUnits

public void setXYUnits(double xyUnits)
Sets the xy scale factor for this coordinate reference object.


setFalseZ

public void setFalseZ(double falseZ)
Sets the z false origin for this coordinate reference object.


setZUnits

public void setZUnits(double zUnits)
Sets the z scale factor for this coordinate reference object.


setFalseM

public void setFalseM(double falseM)
Sets the m false origin for this coordinate reference object.


setMUnits

public void setMUnits(double mUnits)
Sets the m scale units for this coordinate reference object.


setXY

public void setXY(double falseX,
                  double falseY,
                  double xyUnits)
Sets the xy false origin and scale factor for this coordinate reference object.


setXYByExtent

public void setXYByExtent(SeEnvelope env)
Calculates and sets the x,y false origin and scale factor of this coordinate reference object from the given envelope.


setM

public void setM(double falseM,
                 double mUnits)
Sets the measure false origin and scale factor of this coordinate reference object


setZ

public void setZ(double falseZ,
                 double zUnits)
Sets the z false origin and scale factor of this coordinate reference object.


getProjectionStr

public java.lang.String getProjectionStr()
Returns projection as a string.


getCoordSys

public PeCoordinateSystem getCoordSys()
Returns the coordinate reference system.


setProjectionStr

public void setProjectionStr(java.lang.String projstr)
Returns the x false origin for this coordinate reference object.


getSrid

public int getSrid()
Returns the database spatial reference ID that was used to define this coordinate reference object.


setSrid

public void setSrid(int srid)
Returns the x false origin for this coordinate reference object.


toString

public java.lang.String toString()
Returns the x false origin for this coordinate reference object.

Overrides:
toString in class java.lang.Object