com.esri.arcgis.geometry
Class ProjectedCoordinateSystem

java.lang.Object
  extended by com.esri.arcgis.geometry.ProjectedCoordinateSystem
All Implemented Interfaces:
ICompareCoordinateSystems, IControlPrecision, IControlPrecision2, IESRISpatialReference, IESRISpatialReferenceGEN, IESRISpatialReferenceGEN2, IPRJSpatialReference, IPRJSpatialReferenceGEN, IProjectedCoordinateSystem, IProjectedCoordinateSystem2, IProjectedCoordinateSystem3, IProjectedCoordinateSystem4, IProjectedCoordinateSystem4GEN, IProjectedCoordinateSystem5, IProjectedCoordinateSystemEdit, ISpatialReference, ISpatialReference2, ISpatialReference2GEN, ISpatialReference3, ISpatialReference4, ISpatialReferenceAuthority, ISpatialReferenceInfo, ISpatialReferenceResolution, ISpatialReferenceTolerance, ISRPersistStream, com.esri.arcgis.interop.RemoteObjRef, IClone, IPersist, IPersistStream, ISupportErrorInfo, java.io.Externalizable, java.io.Serializable

public class ProjectedCoordinateSystem
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IProjectedCoordinateSystem4GEN, ISpatialReference2GEN, IESRISpatialReferenceGEN, IESRISpatialReferenceGEN2, IPRJSpatialReferenceGEN, IProjectedCoordinateSystem, IProjectedCoordinateSystem2, IProjectedCoordinateSystem3, IProjectedCoordinateSystem4, IProjectedCoordinateSystem5, IProjectedCoordinateSystemEdit, ISpatialReference, ISpatialReference2, ISpatialReference3, ISpatialReference4, ISpatialReferenceInfo, IESRISpatialReference, IPRJSpatialReference, IClone, ICompareCoordinateSystems, IPersist, IPersistStream, ISRPersistStream, ISupportErrorInfo, IControlPrecision, IControlPrecision2, ISpatialReferenceTolerance, ISpatialReferenceResolution, ISpatialReferenceAuthority, java.io.Externalizable

COM Class 'ProjectedCoordinateSystem'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description 'Creates a projected coordinate system.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.geometry.IProjectedCoordinateSystem4GEN
IID, IIDd44edb15_8866_4641_872d_3c81f73ac8aa, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.ISpatialReference2GEN
IID, IID3b563182_cf62_4d40_9157_5022f7ae4561, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IESRISpatialReferenceGEN
IID, IIDf90e304c_a0f7_4a7d_9f62_25fd2a5c96af, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IESRISpatialReferenceGEN2
IID, IID3f9863b9_5477_4757_ac6f_63204de301ee, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IPRJSpatialReferenceGEN
IID, IIDf0e1978b_ab3d_4f82_a374_c5533b179b17, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IProjectedCoordinateSystem5
IID, IID734e8d44_09b8_4796_8fb7_1985a32be7be, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IProjectedCoordinateSystem4
IIDd765fb6b_05d3_4398_86ac_79430de530e5
 
Fields inherited from interface com.esri.arcgis.geometry.IProjectedCoordinateSystem3
IIDd9b13c10_5c5e_11d5_9fee_00c04f6bdd7f
 
Fields inherited from interface com.esri.arcgis.geometry.IProjectedCoordinateSystem2
IIDa690307d_6c11_43a1_966a_9e8db0672033
 
Fields inherited from interface com.esri.arcgis.geometry.IProjectedCoordinateSystem
IIDf94e4c00_1dd1_11b2_bf4e_08002022f573
 
Fields inherited from interface com.esri.arcgis.geometry.ISpatialReference
IID4434d680_f4da_11d1_bca6_0000f875bcce
 
Fields inherited from interface com.esri.arcgis.geometry.ISpatialReferenceInfo
IID4da0fe00_1dd2_11b2_bf49_08002022f573
 
Fields inherited from interface com.esri.arcgis.geometry.IProjectedCoordinateSystemEdit
IID, IID228d7220_d335_11d1_bc9b_0000f875bcce, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.ISpatialReference3
IID, IID170572bf_545c_45a8_a45d_0d33c79441c7, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.ISpatialReference2
IID3267d410_f5d9_11d3_9f69_00c04f6bdd7f
 
Fields inherited from interface com.esri.arcgis.geometry.ISpatialReference4
IID, IID0ed8c73a_da12_4d3e_9e7f_5748619888cb, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IESRISpatialReference
IID, IIDe78f2cd0_c9b2_11d1_bc93_0000f875bcce, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IPRJSpatialReference
IID, IIDbe52f1b6_7bae_4bab_9e92_aad9dd9331de, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IClone
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.ICompareCoordinateSystems
IID, IID75f37757_465c_43b1_afe8_8a4fdcb02839, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.ISRPersistStream
IID, IIDe88c7db0_9e84_11d2_bd00_0000f875bcce, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID00000109_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IControlPrecision2
IID, IIDa1b0d8b3_474c_4fab_808e_0a3c5c498b1b, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IControlPrecision
IIDed4e18dd_ee33_11d3_9fef_00c04f6bc724
 
Fields inherited from interface com.esri.arcgis.geometry.ISpatialReferenceTolerance
IID, IID587dc301_2766_4597_a3e5_9fa152329eb8, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.ISpatialReferenceResolution
IID, IID833ac5b9_20e3_4896_8d55_770f4e90a2e4, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.ISpatialReferenceAuthority
IID, IIDd2f20dac_5ca7_4b58_bddb_309fdd0e364a, xxDummy
 
Constructor Summary
ProjectedCoordinateSystem()
          Constructs a ProjectedCoordinateSystem using ArcGIS Engine.
ProjectedCoordinateSystem(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ProjectedCoordinateSystem theProjectedCoordinateSystem = (ProjectedCoordinateSystem) obj;
 
Method Summary
 void applyPrecision(_WKSPoint[] points, double[] ms, double[] zs)
          Applies the measure and z value precisions.
 void applyPrecision(int cPoints, _WKSPoint points, double[] ms, double[] zs)
          Applies the measure and z value precisions.
 void applyXYPrecision(_WKSPoint[] points)
          Applies the XY precision.
 void applyXYPrecision(int cPoints, _WKSPoint points)
          Applies the XY precision.
 void assign(IClone src)
          Assigns the properties of src to the receiver.
 void changed()
          Notify this object that some of its parts have changed (parameter values, z unit, etc.).
 void constructFromHorizon()
          Defines the XY resolution and domain extent of this spatial reference based on the extent of its horizon.
 void define(java.lang.Object name, java.lang.Object alias, java.lang.Object abbreviation, java.lang.Object remarks, java.lang.Object useage, java.lang.Object gcs, java.lang.Object projectedUnit, java.lang.Object projection, java.lang.Object parameters)
          Defines the properties of a projected coordinate system.
 void define(java.lang.String authorityName, int authorityCode, java.lang.String authorityVersion)
          Defines the authority-related metadata properties for this spatial reference object.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IClone esri_clone()
          Clones the receiver and assigns the result to *clone.
 void exportSpatialReferenceToPRJ(java.lang.String[] str, int[] cBytesWrote)
          Exports the spatial reference to a buffer.
 void exportToESRISpatialReference(java.lang.String[] str, int[] cBytesWrote)
          Exports this spatial reference component to a buffer.
 void exportToESRISpatialReference2(java.lang.String[] str, int[] cBytesWrote)
          Exports this spatial reference component to a buffer.
 void forward(_WKSPoint[][] points)
          Projects points from geographic to planar coordinates.
 void forward(int count, _WKSPoint points)
          Projects points from geographic to planar coordinates.
 java.lang.String getAbbreviation()
          The abbreviated name of this spatial reference component.
 java.lang.String getAlias()
          The alias of this spatial reference component.
 java.lang.String getAuthorityName()
          The name of the defining authority for this object.
 double getAzimuth()
          The azimuth of a projected coordinate system.
 double getCentralLongitude()
          Returns CentralLongitude of the projected coordinate system.
 double getCentralMeridian(boolean inDegrees)
          The central meridian (Lambda0) of a projected coordinate system.
 double getCentralParallel()
          The central parallel (Phi 0) of a projected coordinate system.
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 int getCode()
          The code identifying this object relative to its authority.
 double getConvergenceAngle(_WKSPoint pt, boolean trueToGridNorth)
          Returns the grid convergence angle .
 ILinearUnit getCoordinateUnit()
          The linear unit of a projected coordinate system.
 void getDomain(double[] xMin, double[] xMax, double[] yMin, double[] yMax)
          Get the domain extent.
 int getESRISpatialReferenceSize()
          The number of bytes required to hold the persistant representation of this spatial reference component.
 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.
 void getFalseOriginAndUnits(double[] falseX, double[] falseY, double[] xyUnits)
          Get the false origin and units.
 void getGCSParams(double[] p_180, double[] pDelta)
          Returns 180 degrees and horizon delta in proper GCS units.
 IGeographicCoordinateSystem getGeographicCoordinateSystem()
          The geographic coordinate system of a projected coordinate system.
 double getHeight()
          The height above the sphere in projected coordinate system units.
 IGeometry getHorizon(_WKSEnvelope[] horizonEnvelope, boolean[] inclusive)
          Returns the standard horizon polygon, its envelope, and whether it is inclusive or exclusive; the horizon polygon may be 0.
 esriSRHorizon getHorizon(int horizonIndex)
          The mathematical limits of a projected coordinate system.
 IGeometry getHorizon2(_WKSEnvelope[] horizonEnvelope, boolean[] inclusive)
          Returns the standard horizon polygon, its envelope, and whether it is inclusive or exclusive; the horizon polygon may be 0.
 int getHorizonCount()
          The number of shapes that describe the limits of a ProjCS.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 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.
 double getLatitudeOfCenter()
          The latitude of center (Phi C) of a projected coordinate system.
 double getLatitudeOfOrigin()
          The latitude of the origin (Phi 0) of a projected coordinate system.
 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 getLongitudeOfCenter()
          The longitude of center (Lam C) of a projected coordinate system.
 double getLongitudeOfOrigin()
          The longitude of origin (Lambda0) of a projected coordinate system.
 void getMDomain(double[] outMMin, double[] outMMax)
          Get the measure domain extent.
 void getMFalseOriginAndUnits(double[] falseM, double[] mUnits)
          Get the measure false origin and units.
 double getMResolution()
          The M, or measure, resolution of this spatial reference.
 double getMTolerance()
          The tolerance used to determine equality of M values.
 int getMToleranceValid()
          Returns true if the M tolerance is well defined (not NaN) and >= the minimum M tolerance.
 java.lang.String getName()
          The name of this spatial reference component.
 _WKSPoint getNorthPole()
          Returns north pole in projected coordinates, or an empty point if north pole is outside the PCS horizon.
 int getNorthPoleGeometry()
          Returns type of north pole geometry.
 int getNorthPoleLocation()
          Returns type of location of north pole with respect to PCS horizon.
 void getParameters(IParameter[] parameters)
          Gets the map projection parameters of a projected coordinate system.
 void getParameters(IParameter[][] parameters)
          Gets the map projection parameters of a projected coordinate system.
 IGeometry getPCSHorizon(_WKSEnvelope[] horizonEnvelope, boolean[] inclusive)
          Returns PCS horizon polygon, its envelope and whether it is inclusive or exclusive; the horizon polygon may be 0.
 void getPrecisionSizeMax(int[] byteCount)
          Returns the number of bytes needed to store the false x, false y and xy units of this spatial reference.
 int getPRJSpatialReferenceSize()
          The number of bytes required to hold the persistant representation of the spatial reference.
 IProjection getProjection()
          The map projection of a projected coordinate system.
 double getPseudoStandardParallel1()
          The latitude on an oblique spheroid that defines the oblique cone for a Krovak projected coordinate system.
 java.lang.String getRemarks()
          The comment string of this spatial reference component.
 double getRotation()
          The rotation value used to change the axis directions in a Krovak projected coordinate system.
 double getScaleFactor()
          The scale factor (K0) of a projected coordinate system.
 IGeometry getShiftedHorizon(int shift)
          Returns the horizon polygon, shifted once or twice, west/east of standard horizon for a negative/positive shift.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 _WKSPoint getSouthPole()
          Returns south pole in projected coordinates, or an empty point if south pole is outside the PCS horizon.
 int getSouthPoleGeometry()
          Returns type of south pole geometry.
 int getSouthPoleLocation()
          Returns type of location of south pole with respect to PCS horizon.
 double getStandardParallel1()
          The first parallel (Phi 1) of a projected coordinate system.
 double getStandardParallel2()
          The second parallel (Phi 2) of a projected coordinate system.
 java.lang.String getUsage()
          The usage notes of a projected coordinate system.
 java.lang.String getVersion()
          The version of this spatial reference object.
 IVerticalCoordinateSystem getVerticalCoordinateSystem()
          The VCS associated with this spatial reference.
 double getXScaleFactor()
          The X axis scale value used to flip the axis direction in a Krovak projected coordinate system.
 double getXYResolution(boolean bStandardUnits)
          The XY resolution (distance in SR units between distinguishable grid points) of this spatial reference.
 double getXYTolerance()
          The xy tolerance used to control point coalescing in the X and Y dimensions.
 int getXYToleranceValid()
          Returns esriSRToleranceOK if the XY tolerance is well defined (not NaN) and >= the minimum XY tolerance.
 double getYScaleFactor()
          The Y axis scale value used to flip the axis direction in a Krovak projected coordinate system.
 ILinearUnit getZCoordinateUnit()
          The unit for the Z coordinate.
 void getZDomain(double[] outZMin, double[] outZMax)
          Get the Z domain extent.
 void getZFalseOriginAndUnits(double[] falseZ, double[] zUnits)
          Get the Z false origin and units.
 double getZResolution(boolean bStandardUnits)
          The Z resolution (height/depth distance between distinguishable grid points) of this spatial reference.
 double getZTolerance()
          The tolerance used to control point coalescing strictly along the Z axis.
 int getZToleranceValid()
          Returns true if the Z tolerance is well defined (not NaN) and >= the minimum Z tolerance.
 double getZToXYFactor()
          Conversion factor from Z units to XY units.
 int hashCode()
          the hashcode for this object
 boolean hasMPrecision()
          Returns true when m-value precision information has been defined.
 boolean hasXYPrecision()
          Returns true when (x,y) precision information has been defined.
 boolean hasZPrecision()
          Returns true when z-value precision information has been defined.
 void importFromESRISpatialReference(java.lang.String str, int[] cBytesRead)
          Defines this spatial reference component from the specified ESRISpatialReference buffer.
 void importSpatialReferenceFromPRJ(java.lang.String str, int[] cBytesRead)
          Defines the spatial reference from the specified ESRISpatialReference buffer.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void inverse(_WKSPoint[][] points)
          Projects points from planar to geographic coordinates.
 void inverse(int count, _WKSPoint points)
          Projects points from planar to geographic coordinates.
 void inverseWithShift(double shift, _WKSPoint[][] points)
          Projects points from planar to geographic coordinates.
 void inverseWithShift(double shift, int count, _WKSPoint points)
          Projects points from planar to geographic coordinates.
 boolean isCentralLongitudeVertical()
          Returns true if central meridian is a straight vertical line.
 void isDirty()
          isDirty
 boolean isEqual(IClone other)
          Indicates if the receiver and other have the same properties.
 boolean isEqualLeftLongitude(ISpatialReference other, boolean compareVCS)
          For geographic coordinate systems, this version of IsEqual includes considers their left longitude properties.
 boolean isEqualNoNames(IProjectedCoordinateSystem pOther)
          Compares two projected coordinate systems for equality but ignores their names.
 boolean isEqualNoVCS(ISpatialReference other)
          Compares spatial references without considering any vertical coordinate system that may be associated with the spatial reference.
 boolean isHighPrecision()
          TRUE if a high precision integer grid is being used to round coordinate values.
 boolean isHorizonConvexHull()
          Returns true if PCS horizon is convex.
 boolean isHorizonEdgeDuplicated()
          Returns true if some edges of PCS horizon project inversely to identical lines.
 boolean isHorizonEntireWorld()
          Returns true if PCS horizon contains the entire world.
 boolean isIdentical(IClone other)
          Indicates if the receiver and other are the same object.
 boolean isMPrecisionEqual(ISpatialReference otherSR)
          Returns true if the measure precisions of the two spatial references are the same.
 boolean isMToleranceEqual(ISpatialReference otherSR)
          Returns true if the measure tolerances of the two spatial references are the same.
 void isPrecisionEqual(ISpatialReference otherSR, boolean[] isPrecisionEqual)
          Returns TRUE when the precision information for the two spatial references is the same.
 boolean isUsePrecision()
          Returns TRUE if the precision information can be used for snapping.
 boolean isXYPrecisionEqual(ISpatialReference otherSR)
          Returns true if the XY precisions of the two spatial references are the same.
 boolean isXYToleranceEqual(ISpatialReference otherSR)
          Returns true if the XY tolerances of the two spatial references are the same.
 boolean isZPrecisionEqual(ISpatialReference otherSR)
          Returns true if the Z precisions of the two spatial references are the same.
 boolean isZToleranceEqual(ISpatialReference otherSR)
          Returns true if the Z tolerances of the two spatial references are the same.
 void load(IStream pstm)
          load
 void loadPrecision(IStream pStream)
          Initializes this spatial reference's false x, false y and xy units from information in the specified stream.
 void projectionHint(IGeometry geometry, ISpatialReference targetSR, int[] direction, ITransformation[] pXForm, int[] projectionHint)
          Projection hint for speeding up projections.
 void putLinearAndAngularUnits(ILinearUnit linearUnit, IAngularUnit angularUnit)
          Modify linear unit of projected coordinates and angular unit of associated geographic coordinates.
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a ProjectedCoordinateSystem.
 void save(IStream pstm, int fClearDirty)
          save
 void savePrecision(IStream pStream, int fClearDirty)
          Saves this spatial reference's false x, false y and xy units to the specified stream.
 void setAzimuth(double azimuth)
          The azimuth of a projected coordinate system.
 void setCentralMeridian(boolean inDegrees, double centralMeridian)
          The central meridian (Lambda0) of a projected coordinate system.
 void setCentralParallel(double centralParallel)
          The central parallel (Phi 0) of a projected coordinate system.
 void setDefaultMResolution()
          Sets the m coordinate grid resolution to 1 mm for a low precision spatial reference or 1/10 mm for a high precision spatial reference.
 void setDefaultMTolerance()
          Sets the default tolerance used to determine equality of M values (2.0 * m resolution).
 void setDefaultXYResolution()
          defaults: PCS(hi): 1/10 mm; PCS(lo): 1 mm; GCS(hi): 1/10,000 arc-second; GCS(lo): 1/500 arc-second; UCS(hi): 1/10 mm (assumed); UCS(lo): 1 mm (assumed).
 void setDefaultXYTolerance()
          Sets the default cluster tolerance used to control point coalescing in the X and Y dimensions (the equivalent of 1 mm in the current spatial reference units).
 void setDefaultZResolution()
          Sets the z coordinate grid resolution to 1 mm for a low precision spatial reference or 1/10 mm for a high precision spatial reference.
 void setDefaultZTolerance()
          Sets the default value for the Z cluster tolerance used to control point coalescing strictly along the Z axis (the equivalent of 1 mm in the current vertical coordinate system units).
 void setDomain(double xMin, double xMax, double yMin, double yMax)
          Set the xy domain extent.
 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)
          Set the false origin and units.
 void setHeight(double height)
          The height above the sphere in projected coordinate system units.
 void setIsHighPrecision(boolean isHighPrecision)
          TRUE if a high precision integer grid is being used to round coordinate values.
 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 setLatitudeOfCenter(double latitudeOfCenter)
          The latitude of center (Phi C) of a projected coordinate system.
 void setLatitudeOfOrigin(double latitudeOfOrigin)
          The latitude of the origin (Phi 0) of a projected coordinate system.
 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 setLongitudeOfCenter(double longitudeOfCenter)
          The longitude of center (Lam C) of a projected coordinate system.
 void setLongitudeOfOrigin(double longitudeOfOrigin)
          The longitude of origin (Lambda0) of a projected coordinate system.
 void setMDomain(double inMMin, double inMMax)
          Set the measure domain extent.
 void setMFalseOriginAndUnits(double falseM, double mUnits)
          Set the measure false origin and units.
 void setMinimumMTolerance()
          Sets the minimum tolerance (i.e., pre 9.2) used to determine equality of M values (2.0 * m resolution).
 void setMinimumXYTolerance()
          Sets the xy cluster tolerance to be 2.0 * resolution.
 void setMinimumZTolerance()
          Sets the minimum value for the Z cluster tolerance (i.e., pre 9.2) used to control point coalescing strictly along the Z axis (the equivalent of 1 mm in the current vertical coordinate system units).
 void setMResolution(double interval)
          The M, or measure, resolution of this spatial reference.
 void setMTolerance(double mTolerance)
          The tolerance used to determine equality of M values.
 void setPseudoStandardParallel1(double psp1)
          The latitude on an oblique spheroid that defines the oblique cone for a Krovak projected coordinate system.
 void setRotation(double r)
          The rotation value used to change the axis directions in a Krovak projected coordinate system.
 void setScaleFactor(double scaleFactor)
          The scale factor (K0) of a projected coordinate system.
 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 setUsePrecision(boolean usePrecision)
          Returns TRUE if the precision information can be used for snapping.
 void setVerticalCoordinateSystemByRef(IVerticalCoordinateSystem vcs)
          The VCS associated with this spatial reference.
 void setXScaleFactor(double xs)
          The X axis scale value used to flip the axis direction in a Krovak projected coordinate system.
 void setXYResolution(boolean bStandardUnits, double xYResolution)
          The XY resolution (distance in SR units between distinguishable grid points) of this spatial reference.
 void setXYTolerance(double xYTolerance)
          The xy tolerance used to control point coalescing in the X and Y dimensions.
 void setYScaleFactor(double ys)
          The Y axis scale value used to flip the axis direction in a Krovak projected coordinate system.
 void setZCoordinateUnit(ILinearUnit zunit)
          The unit for the Z coordinate.
 void setZDomain(double inZMin, double inZMax)
          Set the z domain extent.
 void setZFalseOriginAndUnits(double falseZ, double zUnits)
          Set the Z false origin and units.
 void setZResolution(boolean bStandardUnits, double zResolution)
          The Z resolution (height/depth distance between distinguishable grid points) of this spatial reference.
 void setZTolerance(double zTolerance)
          The tolerance used to control point coalescing strictly along the Z axis.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ProjectedCoordinateSystem

public ProjectedCoordinateSystem()
                          throws java.io.IOException,
                                 java.net.UnknownHostException
Constructs a ProjectedCoordinateSystem using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ProjectedCoordinateSystem

public ProjectedCoordinateSystem(java.lang.Object obj)
                          throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ProjectedCoordinateSystem theProjectedCoordinateSystem = (ProjectedCoordinateSystem) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ProjectedCoordinateSystem.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

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

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

getAlias

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

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

getAbbreviation

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

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

getRemarks

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

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

getFactoryCode

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

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

hasXYPrecision

public boolean hasXYPrecision()
                       throws java.io.IOException,
                              AutomationException
Returns true when (x,y) precision information has been defined.

Specified by:
hasXYPrecision in interface IProjectedCoordinateSystem4GEN
Specified by:
hasXYPrecision in interface ISpatialReference
Specified by:
hasXYPrecision in interface ISpatialReference2GEN
Returns:
The hasXYPrecision
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasZPrecision

public boolean hasZPrecision()
                      throws java.io.IOException,
                             AutomationException
Returns true when z-value precision information has been defined.

Specified by:
hasZPrecision in interface IProjectedCoordinateSystem4GEN
Specified by:
hasZPrecision in interface ISpatialReference
Specified by:
hasZPrecision in interface ISpatialReference2GEN
Returns:
The hasZPrecision
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasMPrecision

public boolean hasMPrecision()
                      throws java.io.IOException,
                             AutomationException
Returns true when m-value precision information has been defined.

Specified by:
hasMPrecision in interface IProjectedCoordinateSystem4GEN
Specified by:
hasMPrecision in interface ISpatialReference
Specified by:
hasMPrecision in interface ISpatialReference2GEN
Returns:
The hasMPrecision
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPrecisionEqual

public void isPrecisionEqual(ISpatialReference otherSR,
                             boolean[] isPrecisionEqual)
                      throws java.io.IOException,
                             AutomationException
Returns TRUE when the precision information for the two spatial references is the same.

Specified by:
isPrecisionEqual in interface IProjectedCoordinateSystem4GEN
Specified by:
isPrecisionEqual in interface ISpatialReference
Specified by:
isPrecisionEqual in interface ISpatialReference2GEN
Parameters:
otherSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
isPrecisionEqual - The isPrecisionEqual (in/out: use single element array)
Throws:
java.io.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 java.io.IOException,
                                   AutomationException
Set the false origin and units.

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

setZFalseOriginAndUnits

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

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

setMFalseOriginAndUnits

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

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

getFalseOriginAndUnits

public void getFalseOriginAndUnits(double[] falseX,
                                   double[] falseY,
                                   double[] xyUnits)
                            throws java.io.IOException,
                                   AutomationException
Get the false origin and units.

Specified by:
getFalseOriginAndUnits in interface IProjectedCoordinateSystem4GEN
Specified by:
getFalseOriginAndUnits in interface ISpatialReference
Specified by:
getFalseOriginAndUnits in interface ISpatialReference2GEN
Parameters:
falseX - The falseX (in/out: use single element array)
falseY - The falseY (in/out: use single element array)
xyUnits - The xyUnits (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZFalseOriginAndUnits

public void getZFalseOriginAndUnits(double[] falseZ,
                                    double[] zUnits)
                             throws java.io.IOException,
                                    AutomationException
Get the Z false origin and units.

Specified by:
getZFalseOriginAndUnits in interface IProjectedCoordinateSystem4GEN
Specified by:
getZFalseOriginAndUnits in interface ISpatialReference
Specified by:
getZFalseOriginAndUnits in interface ISpatialReference2GEN
Parameters:
falseZ - The falseZ (in/out: use single element array)
zUnits - The zUnits (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMFalseOriginAndUnits

public void getMFalseOriginAndUnits(double[] falseM,
                                    double[] mUnits)
                             throws java.io.IOException,
                                    AutomationException
Get the measure false origin and units.

Specified by:
getMFalseOriginAndUnits in interface IProjectedCoordinateSystem4GEN
Specified by:
getMFalseOriginAndUnits in interface ISpatialReference
Specified by:
getMFalseOriginAndUnits in interface ISpatialReference2GEN
Parameters:
falseM - The falseM (in/out: use single element array)
mUnits - The mUnits (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomain

public void getDomain(double[] xMin,
                      double[] xMax,
                      double[] yMin,
                      double[] yMax)
               throws java.io.IOException,
                      AutomationException
Get the domain extent.

Specified by:
getDomain in interface IProjectedCoordinateSystem4GEN
Specified by:
getDomain in interface ISpatialReference
Specified by:
getDomain in interface ISpatialReference2GEN
Parameters:
xMin - The xMin (in/out: use single element array)
xMax - The xMax (in/out: use single element array)
yMin - The yMin (in/out: use single element array)
yMax - The yMax (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDomain

public void setDomain(double xMin,
                      double xMax,
                      double yMin,
                      double yMax)
               throws java.io.IOException,
                      AutomationException
Set the xy domain extent.

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

getZDomain

public void getZDomain(double[] outZMin,
                       double[] outZMax)
                throws java.io.IOException,
                       AutomationException
Get the Z domain extent.

Specified by:
getZDomain in interface IProjectedCoordinateSystem4GEN
Specified by:
getZDomain in interface ISpatialReference
Specified by:
getZDomain in interface ISpatialReference2GEN
Parameters:
outZMin - The outZMin (in/out: use single element array)
outZMax - The outZMax (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZDomain

public void setZDomain(double inZMin,
                       double inZMax)
                throws java.io.IOException,
                       AutomationException
Set the z domain extent.

Specified by:
setZDomain in interface IProjectedCoordinateSystem4GEN
Specified by:
setZDomain in interface ISpatialReference
Specified by:
setZDomain in interface ISpatialReference2GEN
Parameters:
inZMin - The inZMin (in)
inZMax - The inZMax (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMDomain

public void getMDomain(double[] outMMin,
                       double[] outMMax)
                throws java.io.IOException,
                       AutomationException
Get the measure domain extent.

Specified by:
getMDomain in interface IProjectedCoordinateSystem4GEN
Specified by:
getMDomain in interface ISpatialReference
Specified by:
getMDomain in interface ISpatialReference2GEN
Parameters:
outMMin - The outMMin (in/out: use single element array)
outMMax - The outMMax (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMDomain

public void setMDomain(double inMMin,
                       double inMMax)
                throws java.io.IOException,
                       AutomationException
Set the measure domain extent.

Specified by:
setMDomain in interface IProjectedCoordinateSystem4GEN
Specified by:
setMDomain in interface ISpatialReference
Specified by:
setMDomain in interface ISpatialReference2GEN
Parameters:
inMMin - The inMMin (in)
inMMax - The inMMax (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZCoordinateUnit

public ILinearUnit getZCoordinateUnit()
                               throws java.io.IOException,
                                      AutomationException
The unit for the Z coordinate.

Specified by:
getZCoordinateUnit in interface IProjectedCoordinateSystem4GEN
Specified by:
getZCoordinateUnit in interface ISpatialReference
Specified by:
getZCoordinateUnit in interface ISpatialReference2GEN
Returns:
A reference to a com.esri.arcgis.geometry.ILinearUnit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZCoordinateUnit

public void setZCoordinateUnit(ILinearUnit zunit)
                        throws java.io.IOException,
                               AutomationException
The unit for the Z coordinate.

Specified by:
setZCoordinateUnit in interface IProjectedCoordinateSystem4GEN
Specified by:
setZCoordinateUnit in interface ISpatialReference
Specified by:
setZCoordinateUnit in interface ISpatialReference2GEN
Parameters:
zunit - A reference to a com.esri.arcgis.geometry.ILinearUnit (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

changed

public void changed()
             throws java.io.IOException,
                    AutomationException
Notify this object that some of its parts have changed (parameter values, z unit, etc.).

Specified by:
changed in interface IProjectedCoordinateSystem4GEN
Specified by:
changed in interface ISpatialReference
Specified by:
changed in interface ISpatialReference2GEN
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUsage

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

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

getGeographicCoordinateSystem

public IGeographicCoordinateSystem getGeographicCoordinateSystem()
                                                          throws java.io.IOException,
                                                                 AutomationException
The geographic coordinate system of a projected coordinate system.

Specified by:
getGeographicCoordinateSystem in interface IProjectedCoordinateSystem
Specified by:
getGeographicCoordinateSystem in interface IProjectedCoordinateSystem4GEN
Returns:
A reference to a com.esri.arcgis.geometry.IGeographicCoordinateSystem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProjection

public IProjection getProjection()
                          throws java.io.IOException,
                                 AutomationException
The map projection of a projected coordinate system.

Specified by:
getProjection in interface IProjectedCoordinateSystem
Specified by:
getProjection in interface IProjectedCoordinateSystem4GEN
Returns:
A reference to a com.esri.arcgis.geometry.IProjection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParameters

public void getParameters(IParameter[][] parameters)
                   throws java.io.IOException,
                          AutomationException
Gets the map projection parameters of a projected coordinate system. The array size needs to be esriSR_MaxParameterCountPrivate.

Specified by:
getParameters in interface IProjectedCoordinateSystem4GEN
Parameters:
parameters - A reference to a com.esri.arcgis.geometry.IParameter array (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoordinateUnit

public ILinearUnit getCoordinateUnit()
                              throws java.io.IOException,
                                     AutomationException
The linear unit of a projected coordinate system.

Specified by:
getCoordinateUnit in interface IProjectedCoordinateSystem
Specified by:
getCoordinateUnit in interface IProjectedCoordinateSystem4GEN
Returns:
A reference to a com.esri.arcgis.geometry.ILinearUnit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

forward

public void forward(_WKSPoint[][] points)
             throws java.io.IOException,
                    AutomationException
Projects points from geographic to planar coordinates.

Specified by:
forward in interface IProjectedCoordinateSystem4GEN
Parameters:
points - A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

inverse

public void inverse(_WKSPoint[][] points)
             throws java.io.IOException,
                    AutomationException
Projects points from planar to geographic coordinates.

Specified by:
inverse in interface IProjectedCoordinateSystem4GEN
Parameters:
points - A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHorizonCount

public int getHorizonCount()
                    throws java.io.IOException,
                           AutomationException
The number of shapes that describe the limits of a ProjCS.

Specified by:
getHorizonCount in interface IProjectedCoordinateSystem
Specified by:
getHorizonCount in interface IProjectedCoordinateSystem4GEN
Returns:
The horizonCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHorizon

public esriSRHorizon getHorizon(int horizonIndex)
                         throws java.io.IOException,
                                AutomationException
The mathematical limits of a projected coordinate system.

Specified by:
getHorizon in interface IProjectedCoordinateSystem
Specified by:
getHorizon in interface IProjectedCoordinateSystem4GEN
Parameters:
horizonIndex - The horizonIndex (in)
Returns:
A Structure: com.esri.arcgis.geometry.esriSRHorizon
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCentralMeridian

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

Specified by:
getCentralMeridian in interface IProjectedCoordinateSystem
Specified by:
getCentralMeridian in interface IProjectedCoordinateSystem4GEN
Parameters:
inDegrees - The inDegrees (in)
Returns:
The centralMeridian
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCentralMeridian

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

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

getLongitudeOfOrigin

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

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

setLongitudeOfOrigin

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

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

getLatitudeOf1st

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

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

setLatitudeOf1st

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

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

getLatitudeOf2nd

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

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

setLatitudeOf2nd

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

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

getFalseEasting

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

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

setFalseEasting

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

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

getFalseNorthing

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

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

setFalseNorthing

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

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

getCentralParallel

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

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

setCentralParallel

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

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

getStandardParallel1

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

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

setStandardParallel1

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

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

getStandardParallel2

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

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

setStandardParallel2

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

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

getLongitudeOf1st

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

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

setLongitudeOf1st

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

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

getLongitudeOf2nd

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

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

setLongitudeOf2nd

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

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

getScaleFactor

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

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

setScaleFactor

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

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

getAzimuth

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

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

setAzimuth

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

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

getLongitudeOfCenter

public double getLongitudeOfCenter()
                            throws java.io.IOException,
                                   AutomationException
The longitude of center (Lam C) of a projected coordinate system.

Specified by:
getLongitudeOfCenter in interface IProjectedCoordinateSystem2
Specified by:
getLongitudeOfCenter in interface IProjectedCoordinateSystem4GEN
Returns:
The longitudeOfCenter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLongitudeOfCenter

public void setLongitudeOfCenter(double longitudeOfCenter)
                          throws java.io.IOException,
                                 AutomationException
The longitude of center (Lam C) of a projected coordinate system.

Specified by:
setLongitudeOfCenter in interface IProjectedCoordinateSystem2
Specified by:
setLongitudeOfCenter in interface IProjectedCoordinateSystem4GEN
Parameters:
longitudeOfCenter - The longitudeOfCenter (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLatitudeOfCenter

public double getLatitudeOfCenter()
                           throws java.io.IOException,
                                  AutomationException
The latitude of center (Phi C) of a projected coordinate system.

Specified by:
getLatitudeOfCenter in interface IProjectedCoordinateSystem2
Specified by:
getLatitudeOfCenter in interface IProjectedCoordinateSystem4GEN
Returns:
The latitudeOfCenter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLatitudeOfCenter

public void setLatitudeOfCenter(double latitudeOfCenter)
                         throws java.io.IOException,
                                AutomationException
The latitude of center (Phi C) of a projected coordinate system.

Specified by:
setLatitudeOfCenter in interface IProjectedCoordinateSystem2
Specified by:
setLatitudeOfCenter in interface IProjectedCoordinateSystem4GEN
Parameters:
latitudeOfCenter - The latitudeOfCenter (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGCSParams

public void getGCSParams(double[] p_180,
                         double[] pDelta)
                  throws java.io.IOException,
                         AutomationException
Returns 180 degrees and horizon delta in proper GCS units.

Specified by:
getGCSParams in interface IProjectedCoordinateSystem2
Specified by:
getGCSParams in interface IProjectedCoordinateSystem4GEN
Parameters:
p_180 - The p_180 (out: use single element array)
pDelta - The pDelta (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHorizon2

public IGeometry getHorizon2(_WKSEnvelope[] horizonEnvelope,
                             boolean[] inclusive)
                      throws java.io.IOException,
                             AutomationException
Returns the standard horizon polygon, its envelope, and whether it is inclusive or exclusive; the horizon polygon may be 0.

Specified by:
getHorizon2 in interface IProjectedCoordinateSystem4GEN
Parameters:
horizonEnvelope - A Structure: com.esri.arcgis.system._WKSEnvelope (A com.esri.arcgis.system._WKSEnvelope COM typedef) (out: use single element array)
inclusive - The inclusive (out: use single element array)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShiftedHorizon

public IGeometry getShiftedHorizon(int shift)
                            throws java.io.IOException,
                                   AutomationException
Returns the horizon polygon, shifted once or twice, west/east of standard horizon for a negative/positive shift.

Specified by:
getShiftedHorizon in interface IProjectedCoordinateSystem2
Specified by:
getShiftedHorizon in interface IProjectedCoordinateSystem4GEN
Parameters:
shift - The shift (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPseudoStandardParallel1

public double getPseudoStandardParallel1()
                                  throws java.io.IOException,
                                         AutomationException
The latitude on an oblique spheroid that defines the oblique cone for a Krovak projected coordinate system.

Specified by:
getPseudoStandardParallel1 in interface IProjectedCoordinateSystem2
Specified by:
getPseudoStandardParallel1 in interface IProjectedCoordinateSystem4GEN
Returns:
The psp1
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPseudoStandardParallel1

public void setPseudoStandardParallel1(double psp1)
                                throws java.io.IOException,
                                       AutomationException
The latitude on an oblique spheroid that defines the oblique cone for a Krovak projected coordinate system.

Specified by:
setPseudoStandardParallel1 in interface IProjectedCoordinateSystem2
Specified by:
setPseudoStandardParallel1 in interface IProjectedCoordinateSystem4GEN
Parameters:
psp1 - The psp1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getXScaleFactor

public double getXScaleFactor()
                       throws java.io.IOException,
                              AutomationException
The X axis scale value used to flip the axis direction in a Krovak projected coordinate system.

Specified by:
getXScaleFactor in interface IProjectedCoordinateSystem2
Specified by:
getXScaleFactor in interface IProjectedCoordinateSystem4GEN
Returns:
The xs
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXScaleFactor

public void setXScaleFactor(double xs)
                     throws java.io.IOException,
                            AutomationException
The X axis scale value used to flip the axis direction in a Krovak projected coordinate system.

Specified by:
setXScaleFactor in interface IProjectedCoordinateSystem2
Specified by:
setXScaleFactor in interface IProjectedCoordinateSystem4GEN
Parameters:
xs - The xs (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getYScaleFactor

public double getYScaleFactor()
                       throws java.io.IOException,
                              AutomationException
The Y axis scale value used to flip the axis direction in a Krovak projected coordinate system.

Specified by:
getYScaleFactor in interface IProjectedCoordinateSystem2
Specified by:
getYScaleFactor in interface IProjectedCoordinateSystem4GEN
Returns:
The ys
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setYScaleFactor

public void setYScaleFactor(double ys)
                     throws java.io.IOException,
                            AutomationException
The Y axis scale value used to flip the axis direction in a Krovak projected coordinate system.

Specified by:
setYScaleFactor in interface IProjectedCoordinateSystem2
Specified by:
setYScaleFactor in interface IProjectedCoordinateSystem4GEN
Parameters:
ys - The ys (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRotation

public double getRotation()
                   throws java.io.IOException,
                          AutomationException
The rotation value used to change the axis directions in a Krovak projected coordinate system.

Specified by:
getRotation in interface IProjectedCoordinateSystem2
Specified by:
getRotation in interface IProjectedCoordinateSystem4GEN
Returns:
The r
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRotation

public void setRotation(double r)
                 throws java.io.IOException,
                        AutomationException
The rotation value used to change the axis directions in a Krovak projected coordinate system.

Specified by:
setRotation in interface IProjectedCoordinateSystem2
Specified by:
setRotation in interface IProjectedCoordinateSystem4GEN
Parameters:
r - The r (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

inverseWithShift

public void inverseWithShift(double shift,
                             _WKSPoint[][] points)
                      throws java.io.IOException,
                             AutomationException
Projects points from planar to geographic coordinates. Deals with geographic coordinates in ranges other than +-180.

Specified by:
inverseWithShift in interface IProjectedCoordinateSystem4GEN
Parameters:
shift - The shift (in)
points - A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putLinearAndAngularUnits

public void putLinearAndAngularUnits(ILinearUnit linearUnit,
                                     IAngularUnit angularUnit)
                              throws java.io.IOException,
                                     AutomationException
Modify linear unit of projected coordinates and angular unit of associated geographic coordinates.

Specified by:
putLinearAndAngularUnits in interface IProjectedCoordinateSystem2
Specified by:
putLinearAndAngularUnits in interface IProjectedCoordinateSystem4GEN
Parameters:
linearUnit - A reference to a com.esri.arcgis.geometry.ILinearUnit (in)
angularUnit - A reference to a com.esri.arcgis.geometry.IAngularUnit (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLatitudeOfOrigin

public double getLatitudeOfOrigin()
                           throws java.io.IOException,
                                  AutomationException
The latitude of the origin (Phi 0) of a projected coordinate system.

Specified by:
getLatitudeOfOrigin in interface IProjectedCoordinateSystem2
Specified by:
getLatitudeOfOrigin in interface IProjectedCoordinateSystem4GEN
Returns:
The latitudeOfOrigin
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLatitudeOfOrigin

public void setLatitudeOfOrigin(double latitudeOfOrigin)
                         throws java.io.IOException,
                                AutomationException
The latitude of the origin (Phi 0) of a projected coordinate system.

Specified by:
setLatitudeOfOrigin in interface IProjectedCoordinateSystem2
Specified by:
setLatitudeOfOrigin in interface IProjectedCoordinateSystem4GEN
Parameters:
latitudeOfOrigin - The latitudeOfOrigin (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqualNoNames

public boolean isEqualNoNames(IProjectedCoordinateSystem pOther)
                       throws java.io.IOException,
                              AutomationException
Compares two projected coordinate systems for equality but ignores their names.

Specified by:
isEqualNoNames in interface IProjectedCoordinateSystem2
Specified by:
isEqualNoNames in interface IProjectedCoordinateSystem4GEN
Parameters:
pOther - A reference to a com.esri.arcgis.geometry.IProjectedCoordinateSystem (in)
Returns:
The equalNoNames
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

public double getHeight()
                 throws java.io.IOException,
                        AutomationException
The height above the sphere in projected coordinate system units.

Specified by:
getHeight in interface IProjectedCoordinateSystem3
Specified by:
getHeight in interface IProjectedCoordinateSystem4GEN
Returns:
The height
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHeight

public void setHeight(double height)
               throws java.io.IOException,
                      AutomationException
The height above the sphere in projected coordinate system units.

Specified by:
setHeight in interface IProjectedCoordinateSystem3
Specified by:
setHeight in interface IProjectedCoordinateSystem4GEN
Parameters:
height - The height (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPCSHorizon

public IGeometry getPCSHorizon(_WKSEnvelope[] horizonEnvelope,
                               boolean[] inclusive)
                        throws java.io.IOException,
                               AutomationException
Returns PCS horizon polygon, its envelope and whether it is inclusive or exclusive; the horizon polygon may be 0.

Specified by:
getPCSHorizon in interface IProjectedCoordinateSystem4
Specified by:
getPCSHorizon in interface IProjectedCoordinateSystem4GEN
Parameters:
horizonEnvelope - A Structure: com.esri.arcgis.system._WKSEnvelope (A com.esri.arcgis.system._WKSEnvelope COM typedef) (in/out: use single element array)
inclusive - The inclusive (in/out: use single element array)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCentralLongitude

public double getCentralLongitude()
                           throws java.io.IOException,
                                  AutomationException
Returns CentralLongitude of the projected coordinate system. Always defined, unlike CentralMeridian or LongitudeOfCenter.

Specified by:
getCentralLongitude in interface IProjectedCoordinateSystem4
Specified by:
getCentralLongitude in interface IProjectedCoordinateSystem4GEN
Returns:
The centralLongitude
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNorthPole

public _WKSPoint getNorthPole()
                       throws java.io.IOException,
                              AutomationException
Returns north pole in projected coordinates, or an empty point if north pole is outside the PCS horizon.

Specified by:
getNorthPole in interface IProjectedCoordinateSystem4
Specified by:
getNorthPole in interface IProjectedCoordinateSystem4GEN
Returns:
A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSouthPole

public _WKSPoint getSouthPole()
                       throws java.io.IOException,
                              AutomationException
Returns south pole in projected coordinates, or an empty point if south pole is outside the PCS horizon.

Specified by:
getSouthPole in interface IProjectedCoordinateSystem4
Specified by:
getSouthPole in interface IProjectedCoordinateSystem4GEN
Returns:
A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNorthPoleLocation

public int getNorthPoleLocation()
                         throws java.io.IOException,
                                AutomationException
Returns type of location of north pole with respect to PCS horizon.

Specified by:
getNorthPoleLocation in interface IProjectedCoordinateSystem4
Specified by:
getNorthPoleLocation in interface IProjectedCoordinateSystem4GEN
Returns:
A com.esri.arcgis.geometry.esriSRPoleLocation constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSouthPoleLocation

public int getSouthPoleLocation()
                         throws java.io.IOException,
                                AutomationException
Returns type of location of south pole with respect to PCS horizon.

Specified by:
getSouthPoleLocation in interface IProjectedCoordinateSystem4
Specified by:
getSouthPoleLocation in interface IProjectedCoordinateSystem4GEN
Returns:
A com.esri.arcgis.geometry.esriSRPoleLocation constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNorthPoleGeometry

public int getNorthPoleGeometry()
                         throws java.io.IOException,
                                AutomationException
Returns type of north pole geometry.

Specified by:
getNorthPoleGeometry in interface IProjectedCoordinateSystem4
Specified by:
getNorthPoleGeometry in interface IProjectedCoordinateSystem4GEN
Returns:
A com.esri.arcgis.geometry.esriSRPoleGeometry constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSouthPoleGeometry

public int getSouthPoleGeometry()
                         throws java.io.IOException,
                                AutomationException
Returns type of south pole geometry.

Specified by:
getSouthPoleGeometry in interface IProjectedCoordinateSystem4
Specified by:
getSouthPoleGeometry in interface IProjectedCoordinateSystem4GEN
Returns:
A com.esri.arcgis.geometry.esriSRPoleGeometry constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHorizonEdgeDuplicated

public boolean isHorizonEdgeDuplicated()
                                throws java.io.IOException,
                                       AutomationException
Returns true if some edges of PCS horizon project inversely to identical lines.

Specified by:
isHorizonEdgeDuplicated in interface IProjectedCoordinateSystem4
Specified by:
isHorizonEdgeDuplicated in interface IProjectedCoordinateSystem4GEN
Returns:
The isEdgeDuplicated
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHorizonConvexHull

public boolean isHorizonConvexHull()
                            throws java.io.IOException,
                                   AutomationException
Returns true if PCS horizon is convex.

Specified by:
isHorizonConvexHull in interface IProjectedCoordinateSystem4
Specified by:
isHorizonConvexHull in interface IProjectedCoordinateSystem4GEN
Returns:
The isConvexHull
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHorizonEntireWorld

public boolean isHorizonEntireWorld()
                             throws java.io.IOException,
                                    AutomationException
Returns true if PCS horizon contains the entire world.

Specified by:
isHorizonEntireWorld in interface IProjectedCoordinateSystem4
Specified by:
isHorizonEntireWorld in interface IProjectedCoordinateSystem4GEN
Returns:
The isWorld
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isXYPrecisionEqual

public boolean isXYPrecisionEqual(ISpatialReference otherSR)
                           throws java.io.IOException,
                                  AutomationException
Returns true if the XY precisions of the two spatial references are the same.

Specified by:
isXYPrecisionEqual in interface ISpatialReference2
Specified by:
isXYPrecisionEqual in interface ISpatialReference2GEN
Parameters:
otherSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
The isXYPrecisionEqual
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMPrecisionEqual

public boolean isMPrecisionEqual(ISpatialReference otherSR)
                          throws java.io.IOException,
                                 AutomationException
Returns true if the measure precisions of the two spatial references are the same.

Specified by:
isMPrecisionEqual in interface ISpatialReference2
Specified by:
isMPrecisionEqual in interface ISpatialReference2GEN
Parameters:
otherSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
The isMPrecisionEqual
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isZPrecisionEqual

public boolean isZPrecisionEqual(ISpatialReference otherSR)
                          throws java.io.IOException,
                                 AutomationException
Returns true if the Z precisions of the two spatial references are the same.

Specified by:
isZPrecisionEqual in interface ISpatialReference2
Specified by:
isZPrecisionEqual in interface ISpatialReference2GEN
Parameters:
otherSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
The isZPrecisionEqual
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

applyXYPrecision

public void applyXYPrecision(_WKSPoint[] points)
                      throws java.io.IOException,
                             AutomationException
Applies the XY precision.

Specified by:
applyXYPrecision in interface ISpatialReference2GEN
Parameters:
points - A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

applyPrecision

public void applyPrecision(_WKSPoint[] points,
                           double[] ms,
                           double[] zs)
                    throws java.io.IOException,
                           AutomationException
Applies the measure and z value precisions.

Specified by:
applyPrecision in interface ISpatialReference2GEN
Parameters:
points - A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in)
ms - The ms (in)
zs - The zs (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getESRISpatialReferenceSize

public int getESRISpatialReferenceSize()
                                throws java.io.IOException,
                                       AutomationException
The number of bytes required to hold the persistant representation of this spatial reference component.

Specified by:
getESRISpatialReferenceSize in interface IESRISpatialReference
Specified by:
getESRISpatialReferenceSize in interface IESRISpatialReferenceGEN
Specified by:
getESRISpatialReferenceSize in interface IESRISpatialReferenceGEN2
Returns:
The cBytes
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importFromESRISpatialReference

public void importFromESRISpatialReference(java.lang.String str,
                                           int[] cBytesRead)
                                    throws java.io.IOException,
                                           AutomationException
Defines this spatial reference component from the specified ESRISpatialReference buffer.

Specified by:
importFromESRISpatialReference in interface IESRISpatialReference
Specified by:
importFromESRISpatialReference in interface IESRISpatialReferenceGEN
Specified by:
importFromESRISpatialReference in interface IESRISpatialReferenceGEN2
Parameters:
str - The str (in)
cBytesRead - The cBytesRead (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToESRISpatialReference

public void exportToESRISpatialReference(java.lang.String[] str,
                                         int[] cBytesWrote)
                                  throws java.io.IOException,
                                         AutomationException
Exports this spatial reference component to a buffer.

Specified by:
exportToESRISpatialReference in interface IESRISpatialReference
Specified by:
exportToESRISpatialReference in interface IESRISpatialReferenceGEN
Parameters:
str - The str (out: use single element array)
cBytesWrote - The cBytesWrote (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToESRISpatialReference2

public void exportToESRISpatialReference2(java.lang.String[] str,
                                          int[] cBytesWrote)
                                   throws java.io.IOException,
                                          AutomationException
Exports this spatial reference component to a buffer.

Specified by:
exportToESRISpatialReference2 in interface IESRISpatialReferenceGEN2
Parameters:
str - The str (out: use single element array)
cBytesWrote - The cBytesWrote (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPRJSpatialReferenceSize

public int getPRJSpatialReferenceSize()
                               throws java.io.IOException,
                                      AutomationException
The number of bytes required to hold the persistant representation of the spatial reference.

Specified by:
getPRJSpatialReferenceSize in interface IPRJSpatialReference
Specified by:
getPRJSpatialReferenceSize in interface IPRJSpatialReferenceGEN
Returns:
The cBytes
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importSpatialReferenceFromPRJ

public void importSpatialReferenceFromPRJ(java.lang.String str,
                                          int[] cBytesRead)
                                   throws java.io.IOException,
                                          AutomationException
Defines the spatial reference from the specified ESRISpatialReference buffer.

Specified by:
importSpatialReferenceFromPRJ in interface IPRJSpatialReference
Specified by:
importSpatialReferenceFromPRJ in interface IPRJSpatialReferenceGEN
Parameters:
str - The str (in)
cBytesRead - The cBytesRead (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportSpatialReferenceToPRJ

public void exportSpatialReferenceToPRJ(java.lang.String[] str,
                                        int[] cBytesWrote)
                                 throws java.io.IOException,
                                        AutomationException
Exports the spatial reference to a buffer.

Specified by:
exportSpatialReferenceToPRJ in interface IPRJSpatialReference
Specified by:
exportSpatialReferenceToPRJ in interface IPRJSpatialReferenceGEN
Parameters:
str - The str (out: use single element array)
cBytesWrote - The cBytesWrote (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParameters

public void getParameters(IParameter[] parameters)
                   throws java.io.IOException,
                          AutomationException
Gets the map projection parameters of a projected coordinate system.

Specified by:
getParameters in interface IProjectedCoordinateSystem
Parameters:
parameters - A reference to a com.esri.arcgis.geometry.IParameter (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

forward

public void forward(int count,
                    _WKSPoint points)
             throws java.io.IOException,
                    AutomationException
Projects points from geographic to planar coordinates.

Specified by:
forward in interface IProjectedCoordinateSystem
Parameters:
count - The count (in)
points - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

inverse

public void inverse(int count,
                    _WKSPoint points)
             throws java.io.IOException,
                    AutomationException
Projects points from planar to geographic coordinates.

Specified by:
inverse in interface IProjectedCoordinateSystem
Parameters:
count - The count (in)
points - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHorizon

public IGeometry getHorizon(_WKSEnvelope[] horizonEnvelope,
                            boolean[] inclusive)
                     throws java.io.IOException,
                            AutomationException
Returns the standard horizon polygon, its envelope, and whether it is inclusive or exclusive; the horizon polygon may be 0.

Specified by:
getHorizon in interface IProjectedCoordinateSystem2
Parameters:
horizonEnvelope - A Structure: com.esri.arcgis.system._WKSEnvelope (A com.esri.arcgis.system._WKSEnvelope COM typedef) (out: use single element array)
inclusive - The inclusive (out: use single element array)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

inverseWithShift

public void inverseWithShift(double shift,
                             int count,
                             _WKSPoint points)
                      throws java.io.IOException,
                             AutomationException
Projects points from planar to geographic coordinates. Deals with geographic coordinates in ranges other than +-180.

Specified by:
inverseWithShift in interface IProjectedCoordinateSystem2
Parameters:
shift - The shift (in)
count - The count (in)
points - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCentralLongitudeVertical

public boolean isCentralLongitudeVertical()
                                   throws java.io.IOException,
                                          AutomationException
Returns true if central meridian is a straight vertical line.

Specified by:
isCentralLongitudeVertical in interface IProjectedCoordinateSystem5
Returns:
The pbIsVertical
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConvergenceAngle

public double getConvergenceAngle(_WKSPoint pt,
                                  boolean trueToGridNorth)
                           throws java.io.IOException,
                                  AutomationException
Returns the grid convergence angle .

Specified by:
getConvergenceAngle in interface IProjectedCoordinateSystem5
Parameters:
pt - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
trueToGridNorth - The trueToGridNorth (in)
Returns:
The angle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

define

public void define(java.lang.Object name,
                   java.lang.Object alias,
                   java.lang.Object abbreviation,
                   java.lang.Object remarks,
                   java.lang.Object useage,
                   java.lang.Object gcs,
                   java.lang.Object projectedUnit,
                   java.lang.Object projection,
                   java.lang.Object parameters)
            throws java.io.IOException,
                   AutomationException
Defines the properties of a projected coordinate system.

Specified by:
define in interface IProjectedCoordinateSystemEdit
Parameters:
name - A Variant (in, optional, pass null if not required)
alias - A Variant (in, optional, pass null if not required)
abbreviation - A Variant (in, optional, pass null if not required)
remarks - A Variant (in, optional, pass null if not required)
useage - A Variant (in, optional, pass null if not required)
gcs - A Variant (in, optional, pass null if not required)
projectedUnit - A Variant (in, optional, pass null if not required)
projection - A Variant (in, optional, pass null if not required)
parameters - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

applyXYPrecision

public void applyXYPrecision(int cPoints,
                             _WKSPoint points)
                      throws java.io.IOException,
                             AutomationException
Applies the XY precision.

Specified by:
applyXYPrecision in interface ISpatialReference2
Parameters:
cPoints - The cPoints (in)
points - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

applyPrecision

public void applyPrecision(int cPoints,
                           _WKSPoint points,
                           double[] ms,
                           double[] zs)
                    throws java.io.IOException,
                           AutomationException
Applies the measure and z value precisions.

Specified by:
applyPrecision in interface ISpatialReference2
Parameters:
cPoints - The cPoints (in)
points - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
ms - The ms (in)
zs - The zs (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVerticalCoordinateSystem

public IVerticalCoordinateSystem getVerticalCoordinateSystem()
                                                      throws java.io.IOException,
                                                             AutomationException
The VCS associated with this spatial reference.

Specified by:
getVerticalCoordinateSystem in interface ISpatialReference3
Returns:
A reference to a com.esri.arcgis.geometry.IVerticalCoordinateSystem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVerticalCoordinateSystemByRef

public void setVerticalCoordinateSystemByRef(IVerticalCoordinateSystem vcs)
                                      throws java.io.IOException,
                                             AutomationException
The VCS associated with this spatial reference.

Specified by:
setVerticalCoordinateSystemByRef in interface ISpatialReference3
Parameters:
vcs - A reference to a com.esri.arcgis.geometry.IVerticalCoordinateSystem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

projectionHint

public void projectionHint(IGeometry geometry,
                           ISpatialReference targetSR,
                           int[] direction,
                           ITransformation[] pXForm,
                           int[] projectionHint)
                    throws java.io.IOException,
                           AutomationException
Projection hint for speeding up projections.

Specified by:
projectionHint in interface ISpatialReference3
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
targetSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in/out: use single element array)
pXForm - A reference to a com.esri.arcgis.geometry.ITransformation (in/out: use single element array)
projectionHint - The projectionHint (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZToXYFactor

public double getZToXYFactor()
                      throws java.io.IOException,
                             AutomationException
Conversion factor from Z units to XY units.

Specified by:
getZToXYFactor in interface ISpatialReference4
Returns:
The pZFactor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

public IClone esri_clone()
                  throws java.io.IOException,
                         AutomationException
Clones the receiver and assigns the result to *clone.

Specified by:
esri_clone in interface IClone
Returns:
A reference to a com.esri.arcgis.system.IClone
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

assign

public void assign(IClone src)
            throws java.io.IOException,
                   AutomationException
Assigns the properties of src to the receiver.

Specified by:
assign in interface IClone
Parameters:
src - A reference to a com.esri.arcgis.system.IClone (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqual

public boolean isEqual(IClone other)
                throws java.io.IOException,
                       AutomationException
Indicates if the receiver and other have the same properties.

Specified by:
isEqual in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The equal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isIdentical

public boolean isIdentical(IClone other)
                    throws java.io.IOException,
                           AutomationException
Indicates if the receiver and other are the same object.

Specified by:
isIdentical in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The identical
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqualNoVCS

public boolean isEqualNoVCS(ISpatialReference other)
                     throws java.io.IOException,
                            AutomationException
Compares spatial references without considering any vertical coordinate system that may be associated with the spatial reference.

Specified by:
isEqualNoVCS in interface ICompareCoordinateSystems
Parameters:
other - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
The equal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqualLeftLongitude

public boolean isEqualLeftLongitude(ISpatialReference other,
                                    boolean compareVCS)
                             throws java.io.IOException,
                                    AutomationException
For geographic coordinate systems, this version of IsEqual includes considers their left longitude properties. Same as IsEqual for projected coordinate systems.

Specified by:
isEqualLeftLongitude in interface ICompareCoordinateSystems
Parameters:
other - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
compareVCS - The compareVCS (in)
Returns:
The equal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrecisionSizeMax

public void getPrecisionSizeMax(int[] byteCount)
                         throws java.io.IOException,
                                AutomationException
Returns the number of bytes needed to store the false x, false y and xy units of this spatial reference.

Specified by:
getPrecisionSizeMax in interface ISRPersistStream
Parameters:
byteCount - The byteCount (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadPrecision

public void loadPrecision(IStream pStream)
                   throws java.io.IOException,
                          AutomationException
Initializes this spatial reference's false x, false y and xy units from information in the specified stream.

Specified by:
loadPrecision in interface ISRPersistStream
Parameters:
pStream - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

savePrecision

public void savePrecision(IStream pStream,
                          int fClearDirty)
                   throws java.io.IOException,
                          AutomationException
Saves this spatial reference's false x, false y and xy units to the specified stream.

Specified by:
savePrecision in interface ISRPersistStream
Parameters:
pStream - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUsePrecision

public boolean isUsePrecision()
                       throws java.io.IOException,
                              AutomationException
Returns TRUE if the precision information can be used for snapping.

Specified by:
isUsePrecision in interface IControlPrecision
Returns:
The usePrecision
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUsePrecision

public void setUsePrecision(boolean usePrecision)
                     throws java.io.IOException,
                            AutomationException
Returns TRUE if the precision information can be used for snapping.

Specified by:
setUsePrecision in interface IControlPrecision
Parameters:
usePrecision - The usePrecision (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHighPrecision

public boolean isHighPrecision()
                        throws java.io.IOException,
                               AutomationException
TRUE if a high precision integer grid is being used to round coordinate values. The scale factors of the spatial reference are re-scaled when this property is changed.

Specified by:
isHighPrecision in interface IControlPrecision2
Returns:
The isHighPrecision
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsHighPrecision

public void setIsHighPrecision(boolean isHighPrecision)
                        throws java.io.IOException,
                               AutomationException
TRUE if a high precision integer grid is being used to round coordinate values. The scale factors of the spatial reference are re-scaled when this property is changed.

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

setDefaultXYTolerance

public void setDefaultXYTolerance()
                           throws java.io.IOException,
                                  AutomationException
Sets the default cluster tolerance used to control point coalescing in the X and Y dimensions (the equivalent of 1 mm in the current spatial reference units).

Specified by:
setDefaultXYTolerance in interface ISpatialReferenceTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinimumXYTolerance

public void setMinimumXYTolerance()
                           throws java.io.IOException,
                                  AutomationException
Sets the xy cluster tolerance to be 2.0 * resolution. Use this value for compatibility with pre-9.2 topological and relational operators.

Specified by:
setMinimumXYTolerance in interface ISpatialReferenceTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getXYTolerance

public double getXYTolerance()
                      throws java.io.IOException,
                             AutomationException
The xy tolerance used to control point coalescing in the X and Y dimensions.

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

setXYTolerance

public void setXYTolerance(double xYTolerance)
                    throws java.io.IOException,
                           AutomationException
The xy tolerance used to control point coalescing in the X and Y dimensions.

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

setDefaultZTolerance

public void setDefaultZTolerance()
                          throws java.io.IOException,
                                 AutomationException
Sets the default value for the Z cluster tolerance used to control point coalescing strictly along the Z axis (the equivalent of 1 mm in the current vertical coordinate system units).

Specified by:
setDefaultZTolerance in interface ISpatialReferenceTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinimumZTolerance

public void setMinimumZTolerance()
                          throws java.io.IOException,
                                 AutomationException
Sets the minimum value for the Z cluster tolerance (i.e., pre 9.2) used to control point coalescing strictly along the Z axis (the equivalent of 1 mm in the current vertical coordinate system units).

Specified by:
setMinimumZTolerance in interface ISpatialReferenceTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZTolerance

public double getZTolerance()
                     throws java.io.IOException,
                            AutomationException
The tolerance used to control point coalescing strictly along the Z axis.

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

setZTolerance

public void setZTolerance(double zTolerance)
                   throws java.io.IOException,
                          AutomationException
The tolerance used to control point coalescing strictly along the Z axis.

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

setDefaultMTolerance

public void setDefaultMTolerance()
                          throws java.io.IOException,
                                 AutomationException
Sets the default tolerance used to determine equality of M values (2.0 * m resolution).

Specified by:
setDefaultMTolerance in interface ISpatialReferenceTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinimumMTolerance

public void setMinimumMTolerance()
                          throws java.io.IOException,
                                 AutomationException
Sets the minimum tolerance (i.e., pre 9.2) used to determine equality of M values (2.0 * m resolution).

Specified by:
setMinimumMTolerance in interface ISpatialReferenceTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMTolerance

public double getMTolerance()
                     throws java.io.IOException,
                            AutomationException
The tolerance used to determine equality of M values.

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

setMTolerance

public void setMTolerance(double mTolerance)
                   throws java.io.IOException,
                          AutomationException
The tolerance used to determine equality of M values.

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

getXYToleranceValid

public int getXYToleranceValid()
                        throws java.io.IOException,
                               AutomationException
Returns esriSRToleranceOK if the XY tolerance is well defined (not NaN) and >= the minimum XY tolerance.

Specified by:
getXYToleranceValid in interface ISpatialReferenceTolerance
Returns:
A com.esri.arcgis.geometry.esriSRToleranceEnum constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZToleranceValid

public int getZToleranceValid()
                       throws java.io.IOException,
                              AutomationException
Returns true if the Z tolerance is well defined (not NaN) and >= the minimum Z tolerance.

Specified by:
getZToleranceValid in interface ISpatialReferenceTolerance
Returns:
A com.esri.arcgis.geometry.esriSRToleranceEnum constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMToleranceValid

public int getMToleranceValid()
                       throws java.io.IOException,
                              AutomationException
Returns true if the M tolerance is well defined (not NaN) and >= the minimum M tolerance.

Specified by:
getMToleranceValid in interface ISpatialReferenceTolerance
Returns:
A com.esri.arcgis.geometry.esriSRToleranceEnum constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isXYToleranceEqual

public boolean isXYToleranceEqual(ISpatialReference otherSR)
                           throws java.io.IOException,
                                  AutomationException
Returns true if the XY tolerances of the two spatial references are the same.

Specified by:
isXYToleranceEqual in interface ISpatialReferenceTolerance
Parameters:
otherSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
The isXYToleranceEqual
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMToleranceEqual

public boolean isMToleranceEqual(ISpatialReference otherSR)
                          throws java.io.IOException,
                                 AutomationException
Returns true if the measure tolerances of the two spatial references are the same.

Specified by:
isMToleranceEqual in interface ISpatialReferenceTolerance
Parameters:
otherSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
The isMToleranceEqual
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isZToleranceEqual

public boolean isZToleranceEqual(ISpatialReference otherSR)
                          throws java.io.IOException,
                                 AutomationException
Returns true if the Z tolerances of the two spatial references are the same.

Specified by:
isZToleranceEqual in interface ISpatialReferenceTolerance
Parameters:
otherSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
The isZToleranceEqual
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructFromHorizon

public void constructFromHorizon()
                          throws java.io.IOException,
                                 AutomationException
Defines the XY resolution and domain extent of this spatial reference based on the extent of its horizon. Low precision SRs will have minimum resolution of 1/10mm in current units.

Specified by:
constructFromHorizon in interface ISpatialReferenceResolution
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXYResolution

public void setXYResolution(boolean bStandardUnits,
                            double xYResolution)
                     throws java.io.IOException,
                            AutomationException
The XY resolution (distance in SR units between distinguishable grid points) of this spatial reference. Reported in meters for PCS/UCS and degrees for GCS when bStandardUnits is true or in current units of SR when it is false.

Specified by:
setXYResolution in interface ISpatialReferenceResolution
Parameters:
bStandardUnits - The bStandardUnits (in)
xYResolution - The xYResolution (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getXYResolution

public double getXYResolution(boolean bStandardUnits)
                       throws java.io.IOException,
                              AutomationException
The XY resolution (distance in SR units between distinguishable grid points) of this spatial reference. Reported in meters for PCS/UCS and degrees for GCS when bStandardUnits is true or in current units of SR when it is false.

Specified by:
getXYResolution in interface ISpatialReferenceResolution
Parameters:
bStandardUnits - The bStandardUnits (in)
Returns:
The xYResolution
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultXYResolution

public void setDefaultXYResolution()
                            throws java.io.IOException,
                                   AutomationException
defaults: PCS(hi): 1/10 mm; PCS(lo): 1 mm; GCS(hi): 1/10,000 arc-second; GCS(lo): 1/500 arc-second; UCS(hi): 1/10 mm (assumed); UCS(lo): 1 mm (assumed).

Specified by:
setDefaultXYResolution in interface ISpatialReferenceResolution
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZResolution

public void setZResolution(boolean bStandardUnits,
                           double zResolution)
                    throws java.io.IOException,
                           AutomationException
The Z resolution (height/depth distance between distinguishable grid points) of this spatial reference. Reported in meters when bStandardUnits is true or in current units of SR when it is false.

Specified by:
setZResolution in interface ISpatialReferenceResolution
Parameters:
bStandardUnits - The bStandardUnits (in)
zResolution - The zResolution (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZResolution

public double getZResolution(boolean bStandardUnits)
                      throws java.io.IOException,
                             AutomationException
The Z resolution (height/depth distance between distinguishable grid points) of this spatial reference. Reported in meters when bStandardUnits is true or in current units of SR when it is false.

Specified by:
getZResolution in interface ISpatialReferenceResolution
Parameters:
bStandardUnits - The bStandardUnits (in)
Returns:
The zResolution
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultZResolution

public void setDefaultZResolution()
                           throws java.io.IOException,
                                  AutomationException
Sets the z coordinate grid resolution to 1 mm for a low precision spatial reference or 1/10 mm for a high precision spatial reference.

Specified by:
setDefaultZResolution in interface ISpatialReferenceResolution
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMResolution

public void setMResolution(double interval)
                    throws java.io.IOException,
                           AutomationException
The M, or measure, resolution of this spatial reference.

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

getMResolution

public double getMResolution()
                      throws java.io.IOException,
                             AutomationException
The M, or measure, resolution of this spatial reference.

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

setDefaultMResolution

public void setDefaultMResolution()
                           throws java.io.IOException,
                                  AutomationException
Sets the m coordinate grid resolution to 1 mm for a low precision spatial reference or 1/10 mm for a high precision spatial reference.

Specified by:
setDefaultMResolution in interface ISpatialReferenceResolution
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAuthorityName

public java.lang.String getAuthorityName()
                                  throws java.io.IOException,
                                         AutomationException
The name of the defining authority for this object.

Specified by:
getAuthorityName in interface ISpatialReferenceAuthority
Returns:
The pAuthName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersion

public java.lang.String getVersion()
                            throws java.io.IOException,
                                   AutomationException
The version of this spatial reference object.

Specified by:
getVersion in interface ISpatialReferenceAuthority
Returns:
The pVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCode

public int getCode()
            throws java.io.IOException,
                   AutomationException
The code identifying this object relative to its authority. For the EPSG authority, this will initially be the WKID (factory code).

Specified by:
getCode in interface ISpatialReferenceAuthority
Returns:
The pAuthCode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

define

public void define(java.lang.String authorityName,
                   int authorityCode,
                   java.lang.String authorityVersion)
            throws java.io.IOException,
                   AutomationException
Defines the authority-related metadata properties for this spatial reference object.

Specified by:
define in interface ISpatialReferenceAuthority
Parameters:
authorityName - The authorityName (in)
authorityCode - The authorityCode (in)
authorityVersion - The authorityVersion (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException