com.esri.arcgis.geoprocessing
Class GpSpRefObject

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.GpSpRefObject
All Implemented Interfaces:
IGpSpRefObject, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GpSpRefObject
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGpSpRefObject

Geoprocessing Spatial Reference object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
GpSpRefObject()
          Constructs a GpSpRefObject using ArcGIS Engine.
GpSpRefObject(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GpSpRefObject theGpSpRefObject = (GpSpRefObject) obj;
 
Method Summary
 void create()
          Create the spatial reference using the currently set properties.
 void createFromFile(String prjFile)
          Create the spatial reference from a projection file.
 boolean equals(Object o)
          Compare this object with another
 String getAbbreviation()
          The abbreviated name of this spatial reference component.
 String getAlias()
          The alias of this spatial reference component.
 int getAngularUnitCode()
          The angular unit code.
 String getAngularUnitName()
          The angular unit name.
 double getAzimuth()
          The azimuth of a projected coordinate system.
 double getCentralMeridian()
          The central meridian (Lambda0) of a projected coordinate system.
 double getCentralMeridianInDegrees()
          The central meridian (Lambda0) of a projected coordinate system in degrees.
 double getCentralParallel()
          The central parallel (Phi 0) of a projected coordinate system.
 String getClassification()
          The classification of a map projection.
static String getClsid()
          getClsid.
 int getDatumCode()
          The datum code.
 String getDatumName()
          The datum name.
 String getDomain()
          The extent of the X/Y domain.
 int getFactoryCode()
          The factory code of the spatial reference.
 double getFalseEasting()
          The false easting (X0) of a projected coordinate system.
 double getFalseNorthing()
          The false northing (Y0) of a projected coordinate system.
 String getFalseOriginAndUnits()
          The false origin and units.
 double getFlattening()
          The flattening ratio of this spheroid.
 int getGCSCode()
          The geographic coordinate system code.
 String getGCSName()
          The geographic coordinate system name.
 String getHasMPrecision()
          Indicates whether or not m-value precision information has been defined.
 String getHasXYPrecision()
          Indicates whether or not (x,y) precision information has been defined.
 String getHasZPrecision()
          Indicates whether or not z-value precision information has been defined.
 String getIsHighPrecision()
          The HighPrecision property.
 double getLatitudeOf1st()
          The latitude of the first point (Phi 1) of a projected coordinate system.
 double getLatitudeOf2nd()
          The latitude of the second point (Phi 2) of a projected coordinate system.
 int getLinearUnitCode()
          The linear unit code.
 String getLinearUnitName()
          The linear unit name.
 double getLongitude()
          The longitude value of this prime meridian.
 double getLongitudeOf1st()
          The longitude of the first point (Lambda 1) of a projected coordinate system.
 double getLongitudeOf2nd()
          The longitude of the second point (Lambda 2) of a projected coordinate system.
 double getLongitudeOfOrigin()
          The longitude of origin (Lambda0) of a projected coordinate system.
 String getMDomain()
          The extent of the measure domain.
 String getMFalseOriginAndUnits()
          The measure false origin and units.
 double getMResolution()
          The MResolution property.
 double getMTolerance()
          The MTolerance property.
 String getName()
          The name of this spatial reference component.
 int getPCSCode()
          The projected coordinate system code.
 String getPCSName()
          The projected coordinate system name.
 int getPrimeMeridianCode()
          The prime meridian code.
 String getPrimeMeridianName()
          The prime meridian name.
 int getProjectionCode()
          The projection code.
 String getProjectionName()
          The projection name.
 double getRadiansPerUnit()
          The radians per angular unit.
 String getRemarks()
          The comment string of this spatial reference component.
 double getScaleFactor()
          The scale factor (K0) of a projected coordinate system.
 double getSemiMajorAxis()
          The semi-major axis length of this spheroid.
 double getSemiMinorAxis()
          The semi-minor axis length of this spheroid.
 ISpatialReference getSpatialReference()
          The spatial reference object.
 int getSpheroidCode()
          The spheroid code.
 String getSpheroidName()
          The spheroid name.
 double getStandardParallel1()
          The first parallel (Phi 1) of a projected coordinate system.
 double getStandardParallel2()
          The second parallel (Phi 2) of a projected coordinate system.
 String getType()
          The type of the spatial reference.
 String getUsage()
          The usage notes of a projected coordinate system.
 double getXYResolution()
          The XYResolution property.
 double getXYTolerance()
          The XYTolerance property.
 String getZDomain()
          The extent of the Z domain.
 String getZFalseOriginAndUnits()
          The Z false origin and units.
 double getZResolution()
          The ZResolution property.
 double getZTolerance()
          The ZTolerance property.
 int hashCode()
          the hashcode for this object
 void setAbbreviation(String abbreviation)
          The abbreviated name of this spatial reference component.
 void setAlias(String alias)
          The alias of this spatial reference component.
 void setAngularUnitCode(int code)
          The angular unit code.
 void setAngularUnitName(String name)
          The angular unit name.
 void setAzimuth(double azimuth)
          The azimuth of a projected coordinate system.
 void setCentralMeridian(double centralMeridian)
          The central meridian (Lambda0) of a projected coordinate system.
 void setCentralMeridianInDegrees(double centralMeridian)
          The central meridian (Lambda0) of a projected coordinate system in degrees.
 void setCentralParallel(double centralParallel)
          The central parallel (Phi 0) of a projected coordinate system.
 void setDatumCode(int code)
          The datum code.
 void setDatumName(String name)
          The datum name.
 void setDomain(double xMin, double yMin, double xMax, double yMax)
          Get the domain extent.
 void setFactoryCode(int code)
          The factory code of the spatial reference.
 void setFalseEasting(double falseEasting)
          The false easting (X0) of a projected coordinate system.
 void setFalseNorthing(double falseNorthing)
          The false northing (Y0) of a projected coordinate system.
 void setFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
          Get the false origin and units.
 void setFlattening(double flattening)
          The flattening ratio of this spheroid.
 void setGCSCode(int code)
          The geographic coordinate system code.
 void setGCSName(String name)
          The geographic coordinate system name.
 void setIsHighPrecision(String value)
          The HighPrecision property.
 void setLatitudeOf1st(double standardLongitude1)
          The latitude of the first point (Phi 1) of a projected coordinate system.
 void setLatitudeOf2nd(double latitudeOf2nd)
          The latitude of the second point (Phi 2) of a projected coordinate system.
 void setLinearUnitCode(int code)
          The linear unit code.
 void setLinearUnitName(String name)
          The linear unit name.
 void setLongitude(String longitude)
          The longitude value of this prime meridian.
 void setLongitudeOf1st(double longitudeOf1st)
          The longitude of the first point (Lambda 1) of a projected coordinate system.
 void setLongitudeOf2nd(double longitudeOf2nd)
          The longitude of the second point (Lambda 2) of a projected coordinate system.
 void setLongitudeOfOrigin(double longitudeOfOrigin)
          The longitude of origin (Lambda0) of a projected coordinate system.
 void setMDomain(double mMin, double mMax)
          Get the measure domain extent.
 void setMFalseOriginAndUnits(double falseM, double mUnits)
          Get the measure false origin and units.
 void setMResolution(double value)
          The MResolution property.
 void setMTolerance(double value)
          The MTolerance property.
 void setName(String name)
          The name of this spatial reference component.
 void setPCSCode(int code)
          The projected coordinate system code.
 void setPCSName(String name)
          The projected coordinate system name.
 void setPrimeMeridianCode(int code)
          The prime meridian code.
 void setPrimeMeridianName(String name)
          The prime meridian name.
 void setProjectionCode(int code)
          The projection code.
 void setProjectionName(String name)
          The projection name.
 void setRemarks(String remarks)
          The comment string of this spatial reference component.
 void setScaleFactor(double scaleFactor)
          The scale factor (K0) of a projected coordinate system.
 void setSemiMajorAxis(double axis)
          The semi-major axis length of this spheroid.
 void setSemiMinorAxis(double axis)
          The semi-minor axis length of this spheroid.
 void setSpatialReferenceByRef(ISpatialReference ppSpRef)
          The spatial reference object.
 void setSpheroidCode(int code)
          The spheroid code.
 void setSpheroidName(String name)
          The spheroid name.
 void setStandardParallel1(double standardParallel1)
          The first parallel (Phi 1) of a projected coordinate system.
 void setStandardParallel2(double standardParallel2)
          The second parallel (Phi 2) of a projected coordinate system.
 void setType(String type)
          The type of the spatial reference.
 void setXYResolution(double value)
          The XYResolution property.
 void setXYTolerance(double value)
          The XYTolerance property.
 void setZDomain(double zMin, double zMax)
          Get the Z domain extent.
 void setZFalseOriginAndUnits(double falseZ, double zUnits)
          Get the Z false origin and units.
 void setZResolution(double value)
          The ZResolution property.
 void setZTolerance(double value)
          The ZTolerance property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

GpSpRefObject

public GpSpRefObject()
              throws IOException,
                     UnknownHostException
Constructs a GpSpRefObject using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GpSpRefObject

public GpSpRefObject(Object obj)
              throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GpSpRefObject theGpSpRefObject = (GpSpRefObject) obj;

Construct a GpSpRefObject using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GpSpRefObject.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getType

public String getType()
               throws IOException,
                      AutomationException
The type of the spatial reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getType in interface IGpSpRefObject
Returns:
The type
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setType

public void setType(String type)
             throws IOException,
                    AutomationException
The type of the spatial reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setType in interface IGpSpRefObject
Parameters:
type - The type (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public String getName()
               throws IOException,
                      AutomationException
The name of this spatial reference component.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getName in interface IGpSpRefObject
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(String name)
             throws IOException,
                    AutomationException
The name of this spatial reference component.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setName in interface IGpSpRefObject
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAlias

public String getAlias()
                throws IOException,
                       AutomationException
The alias of this spatial reference component.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getAlias in interface IGpSpRefObject
Returns:
The alias
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAlias

public void setAlias(String alias)
              throws IOException,
                     AutomationException
The alias of this spatial reference component.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setAlias in interface IGpSpRefObject
Parameters:
alias - The alias (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAbbreviation

public String getAbbreviation()
                       throws IOException,
                              AutomationException
The abbreviated name of this spatial reference component.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getAbbreviation in interface IGpSpRefObject
Returns:
The abbreviation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAbbreviation

public void setAbbreviation(String abbreviation)
                     throws IOException,
                            AutomationException
The abbreviated name of this spatial reference component.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setAbbreviation in interface IGpSpRefObject
Parameters:
abbreviation - The abbreviation (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRemarks

public String getRemarks()
                  throws IOException,
                         AutomationException
The comment string of this spatial reference component.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getRemarks in interface IGpSpRefObject
Returns:
The remarks
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRemarks

public void setRemarks(String remarks)
                throws IOException,
                       AutomationException
The comment string of this spatial reference component.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setRemarks in interface IGpSpRefObject
Parameters:
remarks - The remarks (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFactoryCode

public int getFactoryCode()
                   throws IOException,
                          AutomationException
The factory code of the spatial reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getFactoryCode in interface IGpSpRefObject
Returns:
The code
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFactoryCode

public void setFactoryCode(int code)
                    throws IOException,
                           AutomationException
The factory code of the spatial reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setFactoryCode in interface IGpSpRefObject
Parameters:
code - The code (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHasXYPrecision

public String getHasXYPrecision()
                         throws IOException,
                                AutomationException
Indicates whether or not (x,y) precision information has been defined.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getHasXYPrecision in interface IGpSpRefObject
Returns:
The hasXYPrecision
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHasZPrecision

public String getHasZPrecision()
                        throws IOException,
                               AutomationException
Indicates whether or not z-value precision information has been defined.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getHasZPrecision in interface IGpSpRefObject
Returns:
The hasZPrecision
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHasMPrecision

public String getHasMPrecision()
                        throws IOException,
                               AutomationException
Indicates whether or not m-value precision information has been defined.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getHasMPrecision in interface IGpSpRefObject
Returns:
The hasMPrecision
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFalseOriginAndUnits

public String getFalseOriginAndUnits()
                              throws IOException,
                                     AutomationException
The false origin and units.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getFalseOriginAndUnits in interface IGpSpRefObject
Returns:
The results
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZFalseOriginAndUnits

public String getZFalseOriginAndUnits()
                               throws IOException,
                                      AutomationException
The Z false origin and units.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getZFalseOriginAndUnits in interface IGpSpRefObject
Returns:
The results
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMFalseOriginAndUnits

public String getMFalseOriginAndUnits()
                               throws IOException,
                                      AutomationException
The measure false origin and units.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getMFalseOriginAndUnits in interface IGpSpRefObject
Returns:
The results
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomain

public String getDomain()
                 throws IOException,
                        AutomationException
The extent of the X/Y domain.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getDomain in interface IGpSpRefObject
Returns:
The results
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZDomain

public String getZDomain()
                  throws IOException,
                         AutomationException
The extent of the Z domain.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getZDomain in interface IGpSpRefObject
Returns:
The results
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMDomain

public String getMDomain()
                  throws IOException,
                         AutomationException
The extent of the measure domain.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getMDomain in interface IGpSpRefObject
Returns:
The results
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUsage

public String getUsage()
                throws IOException,
                       AutomationException
The usage notes of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getUsage in interface IGpSpRefObject
Returns:
The usage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCentralMeridian

public double getCentralMeridian()
                          throws IOException,
                                 AutomationException
The central meridian (Lambda0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getCentralMeridian in interface IGpSpRefObject
Returns:
The centralMeridian
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCentralMeridian

public void setCentralMeridian(double centralMeridian)
                        throws IOException,
                               AutomationException
The central meridian (Lambda0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setCentralMeridian in interface IGpSpRefObject
Parameters:
centralMeridian - The centralMeridian (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCentralMeridianInDegrees

public double getCentralMeridianInDegrees()
                                   throws IOException,
                                          AutomationException
The central meridian (Lambda0) of a projected coordinate system in degrees.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getCentralMeridianInDegrees in interface IGpSpRefObject
Returns:
The centralMeridian
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCentralMeridianInDegrees

public void setCentralMeridianInDegrees(double centralMeridian)
                                 throws IOException,
                                        AutomationException
The central meridian (Lambda0) of a projected coordinate system in degrees.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setCentralMeridianInDegrees in interface IGpSpRefObject
Parameters:
centralMeridian - The centralMeridian (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLongitudeOfOrigin

public double getLongitudeOfOrigin()
                            throws IOException,
                                   AutomationException
The longitude of origin (Lambda0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getLongitudeOfOrigin in interface IGpSpRefObject
Returns:
The longitudeOfOrigin
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLongitudeOfOrigin

public void setLongitudeOfOrigin(double longitudeOfOrigin)
                          throws IOException,
                                 AutomationException
The longitude of origin (Lambda0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setLongitudeOfOrigin in interface IGpSpRefObject
Parameters:
longitudeOfOrigin - The longitudeOfOrigin (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLatitudeOf1st

public double getLatitudeOf1st()
                        throws IOException,
                               AutomationException
The latitude of the first point (Phi 1) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getLatitudeOf1st in interface IGpSpRefObject
Returns:
The standardLongitude1
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLatitudeOf1st

public void setLatitudeOf1st(double standardLongitude1)
                      throws IOException,
                             AutomationException
The latitude of the first point (Phi 1) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setLatitudeOf1st in interface IGpSpRefObject
Parameters:
standardLongitude1 - The standardLongitude1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLatitudeOf2nd

public double getLatitudeOf2nd()
                        throws IOException,
                               AutomationException
The latitude of the second point (Phi 2) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getLatitudeOf2nd in interface IGpSpRefObject
Returns:
The latitudeOf2nd
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLatitudeOf2nd

public void setLatitudeOf2nd(double latitudeOf2nd)
                      throws IOException,
                             AutomationException
The latitude of the second point (Phi 2) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setLatitudeOf2nd in interface IGpSpRefObject
Parameters:
latitudeOf2nd - The latitudeOf2nd (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFalseEasting

public double getFalseEasting()
                       throws IOException,
                              AutomationException
The false easting (X0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getFalseEasting in interface IGpSpRefObject
Returns:
The falseEasting
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFalseEasting

public void setFalseEasting(double falseEasting)
                     throws IOException,
                            AutomationException
The false easting (X0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setFalseEasting in interface IGpSpRefObject
Parameters:
falseEasting - The falseEasting (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFalseNorthing

public double getFalseNorthing()
                        throws IOException,
                               AutomationException
The false northing (Y0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getFalseNorthing in interface IGpSpRefObject
Returns:
The falseNorthing
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFalseNorthing

public void setFalseNorthing(double falseNorthing)
                      throws IOException,
                             AutomationException
The false northing (Y0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setFalseNorthing in interface IGpSpRefObject
Parameters:
falseNorthing - The falseNorthing (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCentralParallel

public double getCentralParallel()
                          throws IOException,
                                 AutomationException
The central parallel (Phi 0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getCentralParallel in interface IGpSpRefObject
Returns:
The centralParallel
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCentralParallel

public void setCentralParallel(double centralParallel)
                        throws IOException,
                               AutomationException
The central parallel (Phi 0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setCentralParallel in interface IGpSpRefObject
Parameters:
centralParallel - The centralParallel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStandardParallel1

public double getStandardParallel1()
                            throws IOException,
                                   AutomationException
The first parallel (Phi 1) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getStandardParallel1 in interface IGpSpRefObject
Returns:
The standardParallel1
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStandardParallel1

public void setStandardParallel1(double standardParallel1)
                          throws IOException,
                                 AutomationException
The first parallel (Phi 1) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setStandardParallel1 in interface IGpSpRefObject
Parameters:
standardParallel1 - The standardParallel1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStandardParallel2

public double getStandardParallel2()
                            throws IOException,
                                   AutomationException
The second parallel (Phi 2) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getStandardParallel2 in interface IGpSpRefObject
Returns:
The standardParallel2
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStandardParallel2

public void setStandardParallel2(double standardParallel2)
                          throws IOException,
                                 AutomationException
The second parallel (Phi 2) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setStandardParallel2 in interface IGpSpRefObject
Parameters:
standardParallel2 - The standardParallel2 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLongitudeOf1st

public double getLongitudeOf1st()
                         throws IOException,
                                AutomationException
The longitude of the first point (Lambda 1) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getLongitudeOf1st in interface IGpSpRefObject
Returns:
The longitudeOf1st
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLongitudeOf1st

public void setLongitudeOf1st(double longitudeOf1st)
                       throws IOException,
                              AutomationException
The longitude of the first point (Lambda 1) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setLongitudeOf1st in interface IGpSpRefObject
Parameters:
longitudeOf1st - The longitudeOf1st (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLongitudeOf2nd

public double getLongitudeOf2nd()
                         throws IOException,
                                AutomationException
The longitude of the second point (Lambda 2) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getLongitudeOf2nd in interface IGpSpRefObject
Returns:
The longitudeOf2nd
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLongitudeOf2nd

public void setLongitudeOf2nd(double longitudeOf2nd)
                       throws IOException,
                              AutomationException
The longitude of the second point (Lambda 2) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setLongitudeOf2nd in interface IGpSpRefObject
Parameters:
longitudeOf2nd - The longitudeOf2nd (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScaleFactor

public double getScaleFactor()
                      throws IOException,
                             AutomationException
The scale factor (K0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getScaleFactor in interface IGpSpRefObject
Returns:
The scaleFactor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setScaleFactor

public void setScaleFactor(double scaleFactor)
                    throws IOException,
                           AutomationException
The scale factor (K0) of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setScaleFactor in interface IGpSpRefObject
Parameters:
scaleFactor - The scaleFactor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAzimuth

public double getAzimuth()
                  throws IOException,
                         AutomationException
The azimuth of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getAzimuth in interface IGpSpRefObject
Returns:
The azimuth
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAzimuth

public void setAzimuth(double azimuth)
                throws IOException,
                       AutomationException
The azimuth of a projected coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setAzimuth in interface IGpSpRefObject
Parameters:
azimuth - The azimuth (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSemiMajorAxis

public double getSemiMajorAxis()
                        throws IOException,
                               AutomationException
The semi-major axis length of this spheroid.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getSemiMajorAxis in interface IGpSpRefObject
Returns:
The axis
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSemiMajorAxis

public void setSemiMajorAxis(double axis)
                      throws IOException,
                             AutomationException
The semi-major axis length of this spheroid.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setSemiMajorAxis in interface IGpSpRefObject
Parameters:
axis - The axis (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSemiMinorAxis

public double getSemiMinorAxis()
                        throws IOException,
                               AutomationException
The semi-minor axis length of this spheroid.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getSemiMinorAxis in interface IGpSpRefObject
Returns:
The axis
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSemiMinorAxis

public void setSemiMinorAxis(double axis)
                      throws IOException,
                             AutomationException
The semi-minor axis length of this spheroid.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setSemiMinorAxis in interface IGpSpRefObject
Parameters:
axis - The axis (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFlattening

public double getFlattening()
                     throws IOException,
                            AutomationException
The flattening ratio of this spheroid.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getFlattening in interface IGpSpRefObject
Returns:
The flattening
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFlattening

public void setFlattening(double flattening)
                   throws IOException,
                          AutomationException
The flattening ratio of this spheroid.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setFlattening in interface IGpSpRefObject
Parameters:
flattening - The flattening (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLongitude

public double getLongitude()
                    throws IOException,
                           AutomationException
The longitude value of this prime meridian.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getLongitude in interface IGpSpRefObject
Returns:
The longitude
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRadiansPerUnit

public double getRadiansPerUnit()
                         throws IOException,
                                AutomationException
The radians per angular unit.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getRadiansPerUnit in interface IGpSpRefObject
Returns:
The radiansPerUnit
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassification

public String getClassification()
                         throws IOException,
                                AutomationException
The classification of a map projection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getClassification in interface IGpSpRefObject
Returns:
The classification
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFalseOriginAndUnits

public void setFalseOriginAndUnits(double falseX,
                                   double falseY,
                                   double xyUnits)
                            throws IOException,
                                   AutomationException
Get the false origin and units.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setFalseOriginAndUnits in interface IGpSpRefObject
Parameters:
falseX - The falseX (in)
falseY - The falseY (in)
xyUnits - The xyUnits (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZFalseOriginAndUnits

public void setZFalseOriginAndUnits(double falseZ,
                                    double zUnits)
                             throws IOException,
                                    AutomationException
Get the Z false origin and units.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setZFalseOriginAndUnits in interface IGpSpRefObject
Parameters:
falseZ - The falseZ (in)
zUnits - The zUnits (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMFalseOriginAndUnits

public void setMFalseOriginAndUnits(double falseM,
                                    double mUnits)
                             throws IOException,
                                    AutomationException
Get the measure false origin and units.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setMFalseOriginAndUnits in interface IGpSpRefObject
Parameters:
falseM - The falseM (in)
mUnits - The mUnits (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDomain

public void setDomain(double xMin,
                      double yMin,
                      double xMax,
                      double yMax)
               throws IOException,
                      AutomationException
Get the domain extent.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setDomain in interface IGpSpRefObject
Parameters:
xMin - The xMin (in)
yMin - The yMin (in)
xMax - The xMax (in)
yMax - The yMax (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZDomain

public void setZDomain(double zMin,
                       double zMax)
                throws IOException,
                       AutomationException
Get the Z domain extent.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setZDomain in interface IGpSpRefObject
Parameters:
zMin - The zMin (in)
zMax - The zMax (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMDomain

public void setMDomain(double mMin,
                       double mMax)
                throws IOException,
                       AutomationException
Get the measure domain extent.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setMDomain in interface IGpSpRefObject
Parameters:
mMin - The mMin (in)
mMax - The mMax (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLongitude

public void setLongitude(String longitude)
                  throws IOException,
                         AutomationException
The longitude value of this prime meridian.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setLongitude in interface IGpSpRefObject
Parameters:
longitude - The longitude (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPCSName

public void setPCSName(String name)
                throws IOException,
                       AutomationException
The projected coordinate system name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setPCSName in interface IGpSpRefObject
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPCSName

public String getPCSName()
                  throws IOException,
                         AutomationException
The projected coordinate system name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPCSName in interface IGpSpRefObject
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPCSCode

public void setPCSCode(int code)
                throws IOException,
                       AutomationException
The projected coordinate system code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setPCSCode in interface IGpSpRefObject
Parameters:
code - The code (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPCSCode

public int getPCSCode()
               throws IOException,
                      AutomationException
The projected coordinate system code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPCSCode in interface IGpSpRefObject
Returns:
The code
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGCSName

public void setGCSName(String name)
                throws IOException,
                       AutomationException
The geographic coordinate system name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setGCSName in interface IGpSpRefObject
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGCSName

public String getGCSName()
                  throws IOException,
                         AutomationException
The geographic coordinate system name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getGCSName in interface IGpSpRefObject
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGCSCode

public void setGCSCode(int code)
                throws IOException,
                       AutomationException
The geographic coordinate system code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setGCSCode in interface IGpSpRefObject
Parameters:
code - The code (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGCSCode

public int getGCSCode()
               throws IOException,
                      AutomationException
The geographic coordinate system code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getGCSCode in interface IGpSpRefObject
Returns:
The code
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpheroidName

public void setSpheroidName(String name)
                     throws IOException,
                            AutomationException
The spheroid name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setSpheroidName in interface IGpSpRefObject
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpheroidName

public String getSpheroidName()
                       throws IOException,
                              AutomationException
The spheroid name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSpheroidName in interface IGpSpRefObject
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpheroidCode

public void setSpheroidCode(int code)
                     throws IOException,
                            AutomationException
The spheroid code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setSpheroidCode in interface IGpSpRefObject
Parameters:
code - The code (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpheroidCode

public int getSpheroidCode()
                    throws IOException,
                           AutomationException
The spheroid code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSpheroidCode in interface IGpSpRefObject
Returns:
The code
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProjectionName

public void setProjectionName(String name)
                       throws IOException,
                              AutomationException
The projection name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setProjectionName in interface IGpSpRefObject
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProjectionName

public String getProjectionName()
                         throws IOException,
                                AutomationException
The projection name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getProjectionName in interface IGpSpRefObject
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProjectionCode

public void setProjectionCode(int code)
                       throws IOException,
                              AutomationException
The projection code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setProjectionCode in interface IGpSpRefObject
Parameters:
code - The code (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProjectionCode

public int getProjectionCode()
                      throws IOException,
                             AutomationException
The projection code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getProjectionCode in interface IGpSpRefObject
Returns:
The code
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDatumName

public void setDatumName(String name)
                  throws IOException,
                         AutomationException
The datum name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setDatumName in interface IGpSpRefObject
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatumName

public String getDatumName()
                    throws IOException,
                           AutomationException
The datum name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDatumName in interface IGpSpRefObject
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDatumCode

public void setDatumCode(int code)
                  throws IOException,
                         AutomationException
The datum code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setDatumCode in interface IGpSpRefObject
Parameters:
code - The code (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatumCode

public int getDatumCode()
                 throws IOException,
                        AutomationException
The datum code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDatumCode in interface IGpSpRefObject
Returns:
The code
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPrimeMeridianName

public void setPrimeMeridianName(String name)
                          throws IOException,
                                 AutomationException
The prime meridian name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setPrimeMeridianName in interface IGpSpRefObject
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrimeMeridianName

public String getPrimeMeridianName()
                            throws IOException,
                                   AutomationException
The prime meridian name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPrimeMeridianName in interface IGpSpRefObject
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPrimeMeridianCode

public void setPrimeMeridianCode(int code)
                          throws IOException,
                                 AutomationException
The prime meridian code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setPrimeMeridianCode in interface IGpSpRefObject
Parameters:
code - The code (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrimeMeridianCode

public int getPrimeMeridianCode()
                         throws IOException,
                                AutomationException
The prime meridian code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPrimeMeridianCode in interface IGpSpRefObject
Returns:
The code
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAngularUnitName

public void setAngularUnitName(String name)
                        throws IOException,
                               AutomationException
The angular unit name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setAngularUnitName in interface IGpSpRefObject
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngularUnitName

public String getAngularUnitName()
                          throws IOException,
                                 AutomationException
The angular unit name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAngularUnitName in interface IGpSpRefObject
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAngularUnitCode

public void setAngularUnitCode(int code)
                        throws IOException,
                               AutomationException
The angular unit code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setAngularUnitCode in interface IGpSpRefObject
Parameters:
code - The code (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngularUnitCode

public int getAngularUnitCode()
                       throws IOException,
                              AutomationException
The angular unit code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAngularUnitCode in interface IGpSpRefObject
Returns:
The code
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLinearUnitName

public void setLinearUnitName(String name)
                       throws IOException,
                              AutomationException
The linear unit name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setLinearUnitName in interface IGpSpRefObject
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLinearUnitName

public String getLinearUnitName()
                         throws IOException,
                                AutomationException
The linear unit name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getLinearUnitName in interface IGpSpRefObject
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLinearUnitCode

public void setLinearUnitCode(int code)
                       throws IOException,
                              AutomationException
The linear unit code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setLinearUnitCode in interface IGpSpRefObject
Parameters:
code - The code (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLinearUnitCode

public int getLinearUnitCode()
                      throws IOException,
                             AutomationException
The linear unit code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getLinearUnitCode in interface IGpSpRefObject
Returns:
The code
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFromFile

public void createFromFile(String prjFile)
                    throws IOException,
                           AutomationException
Create the spatial reference from a projection file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
createFromFile in interface IGpSpRefObject
Parameters:
prjFile - The prjFile (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

public void create()
            throws IOException,
                   AutomationException
Create the spatial reference using the currently set properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
create in interface IGpSpRefObject
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

public void setSpatialReferenceByRef(ISpatialReference ppSpRef)
                              throws IOException,
                                     AutomationException
The spatial reference object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setSpatialReferenceByRef in interface IGpSpRefObject
Parameters:
ppSpRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
The spatial reference object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getSpatialReference in interface IGpSpRefObject
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXYTolerance

public void setXYTolerance(double value)
                    throws IOException,
                           AutomationException
The XYTolerance property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setXYTolerance in interface IGpSpRefObject
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getXYTolerance

public double getXYTolerance()
                      throws IOException,
                             AutomationException
The XYTolerance property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getXYTolerance in interface IGpSpRefObject
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMTolerance

public void setMTolerance(double value)
                   throws IOException,
                          AutomationException
The MTolerance property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setMTolerance in interface IGpSpRefObject
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMTolerance

public double getMTolerance()
                     throws IOException,
                            AutomationException
The MTolerance property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMTolerance in interface IGpSpRefObject
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZTolerance

public void setZTolerance(double value)
                   throws IOException,
                          AutomationException
The ZTolerance property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setZTolerance in interface IGpSpRefObject
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZTolerance

public double getZTolerance()
                     throws IOException,
                            AutomationException
The ZTolerance property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getZTolerance in interface IGpSpRefObject
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXYResolution

public void setXYResolution(double value)
                     throws IOException,
                            AutomationException
The XYResolution property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setXYResolution in interface IGpSpRefObject
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getXYResolution

public double getXYResolution()
                       throws IOException,
                              AutomationException
The XYResolution property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getXYResolution in interface IGpSpRefObject
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMResolution

public void setMResolution(double value)
                    throws IOException,
                           AutomationException
The MResolution property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setMResolution in interface IGpSpRefObject
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMResolution

public double getMResolution()
                      throws IOException,
                             AutomationException
The MResolution property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMResolution in interface IGpSpRefObject
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZResolution

public void setZResolution(double value)
                    throws IOException,
                           AutomationException
The ZResolution property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setZResolution in interface IGpSpRefObject
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZResolution

public double getZResolution()
                      throws IOException,
                             AutomationException
The ZResolution property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getZResolution in interface IGpSpRefObject
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsHighPrecision

public void setIsHighPrecision(String value)
                        throws IOException,
                               AutomationException
The HighPrecision property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setIsHighPrecision in interface IGpSpRefObject
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIsHighPrecision

public String getIsHighPrecision()
                          throws IOException,
                                 AutomationException
The HighPrecision property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getIsHighPrecision in interface IGpSpRefObject
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.