Class ProjectedCoordinateSystemClass
[Guid("2A626700-1DD2-11B2-BF51-08002022F573")]
[ClassInterface(ClassInterfaceType.None)]
public class ProjectedCoordinateSystemClass : ProjectedCoordinateSystem, IProjectedCoordinateSystem4GEN, ISpatialReference2GEN, IESRISpatialReferenceGEN, IESRISpatialReferenceGEN2, IESRISpatialReferenceGENEx, IPRJSpatialReferenceGEN, IProjectedCoordinateSystem5, IProjectedCoordinateSystem4, IProjectedCoordinateSystem3, IProjectedCoordinateSystem2, IProjectedCoordinateSystem, IProjectedCoordinateSystemEdit, ISpatialReference3, ISpatialReference2, ISpatialReference, ISpatialReference4, ISpatialReferenceInfo, IESRISpatialReference, IPRJSpatialReference, IClone, ICompareCoordinateSystems, ISRPersistStream, IPersistStream, IPersist, ISupportErrorInfo, IControlPrecision2, IControlPrecision, ISpatialReferenceTolerance, ISpatialReferenceResolution, ISpatialReferenceAuthority
- Inheritance
-
ProjectedCoordinateSystemClass
- Implements
- Inherited Members
Constructors
ProjectedCoordinateSystemClass()
public ProjectedCoordinateSystemClass()
Explicit Interface Implementations
Abbreviation
The abbreviated name of this spatial reference component.
virtual string Abbreviation { get; }
Returns
Alias
The alias of this spatial reference component.
virtual string Alias { get; }
Returns
ApplyPrecision(ref WKSPoint[], ref double[], ref double[])
Applies the measure and z value precisions.
virtual void ApplyPrecision(ref WKSPoint[] Points, ref double[] ms, ref double[] zs)
Parameters
ApplyPrecision(int, ref WKSPoint, ref double, ref double)
Applies the measure and z value precisions.
virtual void ApplyPrecision(int cPoints, ref WKSPoint Points, ref double ms, ref double zs)
Parameters
ApplyXYPrecision(ref WKSPoint[])
Applies the XY precision.
virtual void ApplyXYPrecision(ref WKSPoint[] Points)
Parameters
PointsWKSPoint[]
ApplyXYPrecision(int, ref WKSPoint)
Applies the XY precision.
virtual void ApplyXYPrecision(int cPoints, ref WKSPoint Points)
Parameters
Remarks
The cPoints value is the number of points to which you wish to apply the XY precision (1/resolution). A WKSPoint is a structure that contains the X and Y values of a coordinate pair.
Assign(IClone)
Assigns the properties of src to the receiver.
virtual void Assign(IClone src)
Parameters
srcIClone
AuthorityName
The name of the defining authority for this object.
virtual string AuthorityName { get; }
Returns
Azimuth
The azimuth of a projected coordinate system.
virtual double Azimuth { get; set; }
Returns
CentralMeridian[bool]
The central meridian (Lambda0) of a projected coordinate system.
virtual double CentralMeridian[bool inDegrees] { get; set; }
Parameters
inDegreesbool
Returns
CentralParallel
The central parallel (Phi 0) of a projected coordinate system.
virtual double CentralParallel { get; set; }
Returns
Changed()
Notify this object that some of its parts have changed (parameter values, z unit, etc.).
virtual void Changed()
Clone()
Clones the receiver and assigns the result to *clone.
virtual IClone Clone()
Returns
Code
The code identifying this object relative to its authority. For the EPSG authority, this will initially be the WKID (factory code).
virtual int Code { get; }
Returns
ConstructFromHorizon()
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.
virtual void ConstructFromHorizon()
Remarks
ConstructFromHorizon defines a domain extent and resolution sufficient to cover the horizon of a given coordinate system for high precision spatial references. For low-precision spatial references the domain extent is centered on the horizon center. It does not define an extent for the Z- or M-domains; for these use methods available on ISpatialReference.
Projected Coordinate Systems
For a high precision ProjectedCoordinateSystem (PCS), ConstructFromHorizon defines the domain extent to be a square completely covering, and slightly larger than, the horizon extent of the PCS (which is an arbitrary rectangle). The scale factor (1/precision) is chosen to fit this domain.
For a low precision PCS, the center of the domain extent is aligned with the center of the horizon extent and expanded to achieve a target resolution of 1mm.
The example below lists high and low precision extents for WGS 1984 UTM Zone 11N.
| Name | Low Precision ProjectedCoordinateSystem | High Precision ProjectedCoordinateSystem |
|---|---|---|
| MinX | -573,741.824 | -5,120,900.0 |
| MinY | -1,073,741.824 | -9,998,100.0 |
| MaxX | 1,573,741.823 | 14,875,300.0 |
| MaxY | 1,073,741.823 | 9,998,100.0 |
| Resolution | 0.001 | 2.2 x 10^-9 |
Geographic Coordinate Systems
For a high precision GeographicCoordinateSystem (GCS), ConstructFromHorizon produces the square domain (-400, -400, 400, 400) (expressed in the units of the SR).
For a low precision GCS the upper right hand corner is adjusted to achieve a default resolution of 1/500 of an arc-second.
| Name | Low Precision GeographicCoordinateSystem | High Precision GeographicCoordinateSystem |
|---|---|---|
| MinX | -400 | -400 |
| MinY | -400 | -400 |
| MaxX | 793.046469444444 | 400 |
| MaxY | 793.046469444444 | 400 |
| Resolution | 5.55555555555556E-07 (1/500 arc-second) | 8.8 x 10^-14 |
Unknown Coordinate Systems
For an UnknownCoordinateSystem (UCS), the "horizon" is defined to be a square that produces a resolution of 1 millimeter for a low precision UCS or 1/10 mm for a high precision UCS.
The example below lists high and low precision extents for an UnknownCoordinateSystem.
| Name | Low Precision UnknownCoordinateSystem | High Precision UnknownCoordinateSystem |
|---|---|---|
| MinX | -1,073,741.8245 | -450,359,962,737.05 |
| MinY | -1,073,741.8245 | -450,359,962,737.05 |
| MaxX | 1,073,741.8225 | 450,359,962,737.049 |
| MaxY | 1,073,741.8225 | 450,359,962,737.049 |
| Resolution | 0.001 | 0.0001 |
ConvergenceAngle[WKSPoint, bool]
Returns the grid convergence angle .
virtual double ConvergenceAngle[WKSPoint pt, bool trueToGridNorth] { get; }
Parameters
Returns
CoordinateUnit
The linear unit of a projected coordinate system.
virtual ILinearUnit CoordinateUnit { get; }
Returns
Define(ref object, ref object, ref object, ref object, ref object, ref object, ref object, ref object, ref object)
Defines the properties of a projected coordinate system.
virtual void Define(ref object Name, ref object Alias, ref object Abbreviation, ref object Remarks, ref object useage, ref object gcs, ref object projectedUnit, ref object Projection, ref object parameters)
Parameters
NameobjectAliasobjectAbbreviationobjectRemarksobjectuseageobjectgcsobjectprojectedUnitobjectProjectionobjectparametersobject
Define(string, int, string)
Defines the authority-related metadata properties for this spatial reference object.
virtual void Define(string AuthorityName, int authorityCode, string authorityVersion)
Parameters
DefineEx(string, string, string, string, string, IGeographicCoordinateSystem, ILinearUnit, IProjection, ref IParameter)
Defines the properties of a projected coordinate system.
virtual void DefineEx(string Name, string Alias, string Abbreviation, string Remarks, string useage, IGeographicCoordinateSystem gcs, ILinearUnit projectedXYUnit, IProjection Projection, ref IParameter parameters)
Parameters
NamestringAliasstringAbbreviationstringRemarksstringuseagestringgcsIGeographicCoordinateSystemprojectedXYUnitILinearUnitProjectionIProjectionparametersIParameter
ESRISpatialReferenceSize
The number of bytes required to hold the persistant representation of this spatial reference component.
virtual int ESRISpatialReferenceSize { get; }
Returns
ExportSpatialReferenceToPRJ(out string, out int)
Exports the spatial reference to a buffer.
virtual void ExportSpatialReferenceToPRJ(out string str, out int cBytesWrote)
Parameters
ExportToESRISpatialReference(out string, out int)
Exports this spatial reference component to a buffer.
virtual void ExportToESRISpatialReference(out string str, out int cBytesWrote)
Parameters
ExportToESRISpatialReference2(out string, out int)
Exports this spatial reference component to a buffer.
virtual void ExportToESRISpatialReference2(out string str, out int cBytesWrote)
Parameters
ExportToESRISpatialReferenceEx(bool, bool, out string, out int)
Exports this spatial reference component to a buffer.
virtual void ExportToESRISpatialReferenceEx(bool authority, bool wkt2, out string str, out int cBytesWrote)
Parameters
FactoryCode
The factory code of the spatial reference.
virtual int FactoryCode { get; }
Returns
Remarks
The factory code is an integer identifier that is unique by projection engine object type, such as a projected coordinate system. You can use a factory code in the ISpatialReferenceFactory::CreateProjectedCoordinateSystem method. If you create a custom projected coordinate system, the factory code is zero.
FalseEasting
The false easting (X0) of a projected coordinate system.
virtual double FalseEasting { get; set; }
Returns
FalseNorthing
The false northing (Y0) of a projected coordinate system.
virtual double FalseNorthing { get; set; }
Returns
Forward(ref WKSPoint[])
Projects points from geographic to planar coordinates.
virtual void Forward(ref WKSPoint[] Points)
Parameters
PointsWKSPoint[]
Forward(int, ref WKSPoint)
Projects points from geographic to planar coordinates.
virtual void Forward(int Count, ref WKSPoint Points)
Parameters
GeographicCoordinateSystem
The geographic coordinate system of a projected coordinate system.
virtual IGeographicCoordinateSystem GeographicCoordinateSystem { get; }
Returns
Remarks
<P>The <STRONG>IClone::IsIdentical</STRONG> method is not implemented. </P>
GetCentralLongitude()
Returns CentralLongitude of the projected coordinate system. Always defined, unlike CentralMeridian or LongitudeOfCenter.
virtual double GetCentralLongitude()
Returns
GetClassID(out Guid)
virtual void GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
GetDomain(ref double, ref double, ref double, ref double)
Get the domain extent.
virtual void GetDomain(ref double XMin, ref double XMax, ref double YMin, ref double YMax)
Parameters
GetFalseOriginAndUnits(ref double, ref double, ref double)
Get the false origin and units.
virtual void GetFalseOriginAndUnits(ref double falseX, ref double falseY, ref double xyUnits)
Parameters
GetGCSParams(out double, out double)
Returns 180 degrees and horizon delta in proper GCS units.
virtual void GetGCSParams(out double p_180, out double pDelta)
Parameters
GetHorizon(out WKSEnvelope, out bool)
Returns the standard horizon polygon, its envelope, and whether it is inclusive or exclusive; the horizon polygon may be 0.
virtual IGeometry GetHorizon(out WKSEnvelope horizonEnvelope, out bool Inclusive)
Parameters
horizonEnvelopeWKSEnvelopeInclusivebool
Returns
Remarks
GetHorizon returns, in geographic coordinate system coordinates and unit of measure, the valid geometry of a projected coordinate system. The method also returns whether the geometry should be considered inclusive or exclusive, and its envelope.
GetMDomain(ref double, ref double)
Get the measure domain extent.
virtual void GetMDomain(ref double outMMin, ref double outMMax)
Parameters
GetMFalseOriginAndUnits(ref double, ref double)
Get the measure false origin and units.
virtual void GetMFalseOriginAndUnits(ref double falseM, ref double mUnits)
Parameters
GetNorthPole()
Returns north pole in projected coordinates, or an empty point if north pole is outside the PCS horizon.
virtual WKSPoint GetNorthPole()
Returns
GetNorthPoleGeometry()
Returns type of north pole geometry.
virtual esriSRPoleGeometry GetNorthPoleGeometry()
Returns
GetNorthPoleLocation()
Returns type of location of north pole with respect to PCS horizon.
virtual esriSRPoleLocation GetNorthPoleLocation()
Returns
GetPCSHorizon(ref WKSEnvelope, ref bool)
Returns PCS horizon polygon, its envelope and whether it is inclusive or exclusive; the horizon polygon may be 0.
virtual IGeometry GetPCSHorizon(ref WKSEnvelope horizonEnvelope, ref bool Inclusive)
Parameters
horizonEnvelopeWKSEnvelopeInclusivebool
Returns
GetParameters(out IParameter)
Gets the map projection parameters of a projected coordinate system.
virtual void GetParameters(out IParameter parameters)
Parameters
parametersIParameter
GetParameters(ref IParameter[])
Gets the map projection parameters of a projected coordinate system. The array size needs to be esriSR_MaxParameterCountPrivate.
virtual void GetParameters(ref IParameter[] parameters)
Parameters
parametersIParameter[]
GetPrecisionSizeMax(out int)
Returns the number of bytes needed to store the false x, false y and xy units of this spatial reference.
virtual void GetPrecisionSizeMax(out int byteCount)
Parameters
byteCountint
GetShiftedHorizon(int)
Returns the horizon polygon, shifted once or twice, west/east of standard horizon for a negative/positive shift.
virtual IGeometry GetShiftedHorizon(int shift)
Parameters
shiftint
Returns
Remarks
The standard horizon is the valid area of a projected coordinate system, but in geographic coordinate system coordinates and unit of measure. The standard horizon usually has longitude values between +/-180 (or equivalent). If you use -2, -1, 1 or 2 for the shift value, GetShiftedHorizon will translate the horizon by 360 degrees to the left or right.
GetSizeMax(out _ULARGE_INTEGER)
virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)
Parameters
pcbSize_ULARGE_INTEGER
GetSouthPole()
Returns south pole in projected coordinates, or an empty point if south pole is outside the PCS horizon.
virtual WKSPoint GetSouthPole()
Returns
GetSouthPoleGeometry()
Returns type of south pole geometry.
virtual esriSRPoleGeometry GetSouthPoleGeometry()
Returns
GetSouthPoleLocation()
Returns type of location of south pole with respect to PCS horizon.
virtual esriSRPoleLocation GetSouthPoleLocation()
Returns
GetZDomain(ref double, ref double)
Get the Z domain extent.
virtual void GetZDomain(ref double outZMin, ref double outZMax)
Parameters
GetZFalseOriginAndUnits(ref double, ref double)
Get the Z false origin and units.
virtual void GetZFalseOriginAndUnits(ref double falseZ, ref double zUnits)
Parameters
HasMPrecision()
Returns true when m-value precision information has been defined.
virtual bool HasMPrecision()
Returns
HasXYPrecision()
Returns true when (x,y) precision information has been defined.
virtual bool HasXYPrecision()
Returns
HasZPrecision()
Returns true when z-value precision information has been defined.
virtual bool HasZPrecision()
Returns
Height
The height above the sphere in projected coordinate system units.
virtual double Height { get; set; }
Returns
Horizon[int]
The mathematical limits of a projected coordinate system.
virtual IntPtr Horizon[int horizonIndex] { get; }
Parameters
horizonIndexint
Returns
Remarks
Obsolete. Use IProjectedCoordinateSystem2::GetHorizon.
HorizonCount
The number of shapes that describe the limits of a ProjCS.
virtual int HorizonCount { get; }
Returns
Remarks
Obsolete. Use IProjectedCoordinateSystem2::GetHorizon.
IControlPrecision2_UsePrecision
virtual bool IControlPrecision2_UsePrecision { get; set; }
Returns
IESRISpatialReferenceGEN2_ESRISpatialReferenceSize
The number of bytes required to hold the persistant representation of this spatial reference component.
virtual int IESRISpatialReferenceGEN2_ESRISpatialReferenceSize { get; }
Returns
IESRISpatialReferenceGEN2_ImportFromESRISpatialReference(string, out int)
Defines this spatial reference component from the specified ESRISpatialReference buffer.
virtual void IESRISpatialReferenceGEN2_ImportFromESRISpatialReference(string str, out int cBytesRead)
Parameters
IESRISpatialReferenceGENEx_ESRISpatialReferenceSize
The number of bytes required to hold the persistant representation of this spatial reference component.
virtual int IESRISpatialReferenceGENEx_ESRISpatialReferenceSize { get; }
Returns
IESRISpatialReferenceGENEx_ImportFromESRISpatialReference(string, out int)
Defines this spatial reference component from the specified ESRISpatialReference buffer.
virtual void IESRISpatialReferenceGENEx_ImportFromESRISpatialReference(string str, out int cBytesRead)
Parameters
IESRISpatialReference_ESRISpatialReferenceSize
The number of bytes required to hold the persistant representation of this spatial reference component.
virtual int IESRISpatialReference_ESRISpatialReferenceSize { get; }
Returns
IESRISpatialReference_ExportToESRISpatialReference(out string, out int)
Exports this spatial reference component to a buffer.
virtual void IESRISpatialReference_ExportToESRISpatialReference(out string str, out int cBytesWrote)
Parameters
IESRISpatialReference_ImportFromESRISpatialReference(string, out int)
Defines this spatial reference component from the specified ESRISpatialReference buffer.
virtual void IESRISpatialReference_ImportFromESRISpatialReference(string str, out int cBytesRead)
Parameters
IPRJSpatialReference_ExportSpatialReferenceToPRJ(out string, out int)
Exports the spatial reference to a buffer.
virtual void IPRJSpatialReference_ExportSpatialReferenceToPRJ(out string str, out int cBytesWrote)
Parameters
IPRJSpatialReference_ImportSpatialReferenceFromPRJ(string, out int)
Defines the spatial reference from the specified ESRISpatialReference buffer.
virtual void IPRJSpatialReference_ImportSpatialReferenceFromPRJ(string str, out int cBytesRead)
Parameters
Remarks
Not implemented for the GeographicCoordinateSystem or ProjectedCoordinateSystem coclasses. Use the ISpatialReferenceFactory:CreateESRISpatialReferenceFromPRJ method instead.
IPRJSpatialReference_PRJSpatialReferenceSize
The number of bytes required to hold the persistant representation of the spatial reference.
virtual int IPRJSpatialReference_PRJSpatialReferenceSize { get; }
Returns
IPersistStream_GetClassID(out Guid)
virtual void IPersistStream_GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
IProjectedCoordinateSystem2_Abbreviation
virtual string IProjectedCoordinateSystem2_Abbreviation { get; }
Returns
IProjectedCoordinateSystem2_Alias
virtual string IProjectedCoordinateSystem2_Alias { get; }
Returns
IProjectedCoordinateSystem2_Azimuth
virtual double IProjectedCoordinateSystem2_Azimuth { get; set; }
Returns
IProjectedCoordinateSystem2_CentralMeridian[bool]
virtual double IProjectedCoordinateSystem2_CentralMeridian[bool inDegrees] { get; set; }
Parameters
inDegreesbool
Returns
IProjectedCoordinateSystem2_CentralParallel
virtual double IProjectedCoordinateSystem2_CentralParallel { get; set; }
Returns
IProjectedCoordinateSystem2_Changed()
virtual void IProjectedCoordinateSystem2_Changed()
IProjectedCoordinateSystem2_CoordinateUnit
virtual ILinearUnit IProjectedCoordinateSystem2_CoordinateUnit { get; }
Returns
IProjectedCoordinateSystem2_FactoryCode
virtual int IProjectedCoordinateSystem2_FactoryCode { get; }
Returns
IProjectedCoordinateSystem2_FalseEasting
virtual double IProjectedCoordinateSystem2_FalseEasting { get; set; }
Returns
IProjectedCoordinateSystem2_FalseNorthing
virtual double IProjectedCoordinateSystem2_FalseNorthing { get; set; }
Returns
IProjectedCoordinateSystem2_Forward(int, ref WKSPoint)
virtual void IProjectedCoordinateSystem2_Forward(int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem2_GeographicCoordinateSystem
virtual IGeographicCoordinateSystem IProjectedCoordinateSystem2_GeographicCoordinateSystem { get; }
Returns
IProjectedCoordinateSystem2_GetDomain(out double, out double, out double, out double)
virtual void IProjectedCoordinateSystem2_GetDomain(out double XMin, out double XMax, out double YMin, out double YMax)
Parameters
IProjectedCoordinateSystem2_GetFalseOriginAndUnits(out double, out double, out double)
virtual void IProjectedCoordinateSystem2_GetFalseOriginAndUnits(out double falseX, out double falseY, out double xyUnits)
Parameters
IProjectedCoordinateSystem2_GetGCSParams(out double, out double)
Returns 180 degrees and horizon delta in proper GCS units.
virtual void IProjectedCoordinateSystem2_GetGCSParams(out double p_180, out double pDelta)
Parameters
IProjectedCoordinateSystem2_GetHorizon(out WKSEnvelope, out bool)
Returns the standard horizon polygon, its envelope, and whether it is inclusive or exclusive; the horizon polygon may be 0.
virtual IGeometry IProjectedCoordinateSystem2_GetHorizon(out WKSEnvelope horizonEnvelope, out bool Inclusive)
Parameters
horizonEnvelopeWKSEnvelopeInclusivebool
Returns
Remarks
GetHorizon returns, in geographic coordinate system coordinates and unit of measure, the valid geometry of a projected coordinate system. The method also returns whether the geometry should be considered inclusive or exclusive, and its envelope.
IProjectedCoordinateSystem2_GetMDomain(out double, out double)
virtual void IProjectedCoordinateSystem2_GetMDomain(out double outMMin, out double outMMax)
Parameters
IProjectedCoordinateSystem2_GetMFalseOriginAndUnits(out double, out double)
virtual void IProjectedCoordinateSystem2_GetMFalseOriginAndUnits(out double falseM, out double mUnits)
Parameters
IProjectedCoordinateSystem2_GetParameters(out IParameter)
virtual void IProjectedCoordinateSystem2_GetParameters(out IParameter parameters)
Parameters
parametersIParameter
IProjectedCoordinateSystem2_GetShiftedHorizon(int)
Returns the horizon polygon, shifted once or twice, west/east of the standard horizon for a negative/positive shift.
virtual IGeometry IProjectedCoordinateSystem2_GetShiftedHorizon(int shift)
Parameters
shiftint
Returns
Remarks
The standard horizon is the valid area of a projected coordinate system, but in geographic coordinate system coordinates and unit of measure. The standard horizon usually has longitude values between +/-180 (or equivalent). If you use -2, -1, 1 or 2 for the shift value, GetShiftedHorizon will translate the horizon by 360 degrees to the left or right.
IProjectedCoordinateSystem2_GetZDomain(out double, out double)
virtual void IProjectedCoordinateSystem2_GetZDomain(out double outZMin, out double outZMax)
Parameters
IProjectedCoordinateSystem2_GetZFalseOriginAndUnits(out double, out double)
virtual void IProjectedCoordinateSystem2_GetZFalseOriginAndUnits(out double falseZ, out double zUnits)
Parameters
IProjectedCoordinateSystem2_HasMPrecision()
virtual bool IProjectedCoordinateSystem2_HasMPrecision()
Returns
IProjectedCoordinateSystem2_HasXYPrecision()
virtual bool IProjectedCoordinateSystem2_HasXYPrecision()
Returns
IProjectedCoordinateSystem2_HasZPrecision()
virtual bool IProjectedCoordinateSystem2_HasZPrecision()
Returns
IProjectedCoordinateSystem2_Horizon[int]
virtual IntPtr IProjectedCoordinateSystem2_Horizon[int horizonIndex] { get; }
Parameters
horizonIndexint
Returns
IProjectedCoordinateSystem2_HorizonCount
virtual int IProjectedCoordinateSystem2_HorizonCount { get; }
Returns
IProjectedCoordinateSystem2_Inverse(int, ref WKSPoint)
virtual void IProjectedCoordinateSystem2_Inverse(int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem2_IsEqualNoNames(IProjectedCoordinateSystem)
Compares to projected coordinate systems for equality but ignores their names.
virtual bool IProjectedCoordinateSystem2_IsEqualNoNames(IProjectedCoordinateSystem pOther)
Parameters
pOtherIProjectedCoordinateSystem
Returns
IProjectedCoordinateSystem2_IsPrecisionEqual(ISpatialReference, out bool)
virtual void IProjectedCoordinateSystem2_IsPrecisionEqual(ISpatialReference otherSR, out bool IsPrecisionEqual)
Parameters
otherSRISpatialReferenceIsPrecisionEqualbool
IProjectedCoordinateSystem2_LatitudeOf1st
virtual double IProjectedCoordinateSystem2_LatitudeOf1st { get; set; }
Returns
IProjectedCoordinateSystem2_LatitudeOf2nd
virtual double IProjectedCoordinateSystem2_LatitudeOf2nd { get; set; }
Returns
IProjectedCoordinateSystem2_LatitudeOfCenter
The latitude of center (Phi C) of a projected coordinate system.
virtual double IProjectedCoordinateSystem2_LatitudeOfCenter { get; set; }
Returns
Remarks
The latitude of center projection parameter is used by the Hotine Oblique Mercator (Azimuth) and Krovak projections. It defines the latitude that is at the center of the projection. It is usually but not always the origin of the Y values.
IProjectedCoordinateSystem2_LatitudeOfOrigin
The latitude of the origin (Phi 0) of a projected coordinate system.
virtual double IProjectedCoordinateSystem2_LatitudeOfOrigin { get; set; }
Returns
IProjectedCoordinateSystem2_LongitudeOf1st
virtual double IProjectedCoordinateSystem2_LongitudeOf1st { get; set; }
Returns
IProjectedCoordinateSystem2_LongitudeOf2nd
virtual double IProjectedCoordinateSystem2_LongitudeOf2nd { get; set; }
Returns
IProjectedCoordinateSystem2_LongitudeOfCenter
The longitude of center (Lam C) of a projected coordinate system.
virtual double IProjectedCoordinateSystem2_LongitudeOfCenter { get; set; }
Returns
Remarks
The longitude of center projection parameter is used by the Hotine Oblique Mercator (Azimuth) and Krovak projections. It defines the longitude that is at the center of the projection. It is usually but not always the origin of the X values.
IProjectedCoordinateSystem2_LongitudeOfOrigin
virtual double IProjectedCoordinateSystem2_LongitudeOfOrigin { get; set; }
Returns
IProjectedCoordinateSystem2_Name
virtual string IProjectedCoordinateSystem2_Name { get; }
Returns
IProjectedCoordinateSystem2_PrecisionExImpl
virtual long IProjectedCoordinateSystem2_PrecisionExImpl { get; }
Returns
IProjectedCoordinateSystem2_PrecisionImpl
virtual long IProjectedCoordinateSystem2_PrecisionImpl { get; }
Returns
IProjectedCoordinateSystem2_Projection
virtual IProjection IProjectedCoordinateSystem2_Projection { get; }
Returns
IProjectedCoordinateSystem2_PseudoStandardParallel1
The latitude on an oblique spheroid that defines the oblique cone for a Krovak projected coordinate system.
virtual double IProjectedCoordinateSystem2_PseudoStandardParallel1 { get; set; }
Returns
IProjectedCoordinateSystem2_PutLinearAndAngularUnits(ILinearUnit, IAngularUnit)
Modify linear unit of projected coordinates and angular unit of associated geographic coordinates.
virtual void IProjectedCoordinateSystem2_PutLinearAndAngularUnits(ILinearUnit LinearUnit, IAngularUnit AngularUnit)
Parameters
LinearUnitILinearUnitAngularUnitIAngularUnit
IProjectedCoordinateSystem2_Remarks
virtual string IProjectedCoordinateSystem2_Remarks { get; }
Returns
IProjectedCoordinateSystem2_Rotation
The rotation value used to change the axis directions in a Krovak projected coordinate system.
virtual double IProjectedCoordinateSystem2_Rotation { get; set; }
Returns
IProjectedCoordinateSystem2_ScaleFactor
virtual double IProjectedCoordinateSystem2_ScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem2_SetDomain(double, double, double, double)
virtual void IProjectedCoordinateSystem2_SetDomain(double XMin, double XMax, double YMin, double YMax)
Parameters
IProjectedCoordinateSystem2_SetFalseOriginAndUnits(double, double, double)
virtual void IProjectedCoordinateSystem2_SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
Parameters
IProjectedCoordinateSystem2_SetMDomain(double, double)
virtual void IProjectedCoordinateSystem2_SetMDomain(double inMMin, double inMMax)
Parameters
IProjectedCoordinateSystem2_SetMFalseOriginAndUnits(double, double)
virtual void IProjectedCoordinateSystem2_SetMFalseOriginAndUnits(double falseM, double mUnits)
Parameters
IProjectedCoordinateSystem2_SetZDomain(double, double)
virtual void IProjectedCoordinateSystem2_SetZDomain(double inZMin, double inZMax)
Parameters
IProjectedCoordinateSystem2_SetZFalseOriginAndUnits(double, double)
virtual void IProjectedCoordinateSystem2_SetZFalseOriginAndUnits(double falseZ, double zUnits)
Parameters
IProjectedCoordinateSystem2_SpatialReferenceImpl
virtual long IProjectedCoordinateSystem2_SpatialReferenceImpl { get; }
Returns
IProjectedCoordinateSystem2_StandardParallel1
virtual double IProjectedCoordinateSystem2_StandardParallel1 { get; set; }
Returns
IProjectedCoordinateSystem2_StandardParallel2
virtual double IProjectedCoordinateSystem2_StandardParallel2 { get; set; }
Returns
IProjectedCoordinateSystem2_Usage
virtual string IProjectedCoordinateSystem2_Usage { get; }
Returns
IProjectedCoordinateSystem2_XScaleFactor
The X axis scale value used to flip the axis direction in a Krovak projected coordinate system.
virtual double IProjectedCoordinateSystem2_XScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem2_YScaleFactor
The Y axis scale value used to flip the axis direction in a Krovak projected coordinate system.
virtual double IProjectedCoordinateSystem2_YScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem2_ZCoordinateUnit
virtual ILinearUnit IProjectedCoordinateSystem2_ZCoordinateUnit { get; set; }
Returns
IProjectedCoordinateSystem3_Abbreviation
virtual string IProjectedCoordinateSystem3_Abbreviation { get; }
Returns
IProjectedCoordinateSystem3_Alias
virtual string IProjectedCoordinateSystem3_Alias { get; }
Returns
IProjectedCoordinateSystem3_Azimuth
virtual double IProjectedCoordinateSystem3_Azimuth { get; set; }
Returns
IProjectedCoordinateSystem3_CentralMeridian[bool]
virtual double IProjectedCoordinateSystem3_CentralMeridian[bool inDegrees] { get; set; }
Parameters
inDegreesbool
Returns
IProjectedCoordinateSystem3_CentralParallel
virtual double IProjectedCoordinateSystem3_CentralParallel { get; set; }
Returns
IProjectedCoordinateSystem3_Changed()
virtual void IProjectedCoordinateSystem3_Changed()
IProjectedCoordinateSystem3_CoordinateUnit
virtual ILinearUnit IProjectedCoordinateSystem3_CoordinateUnit { get; }
Returns
IProjectedCoordinateSystem3_FactoryCode
virtual int IProjectedCoordinateSystem3_FactoryCode { get; }
Returns
IProjectedCoordinateSystem3_FalseEasting
virtual double IProjectedCoordinateSystem3_FalseEasting { get; set; }
Returns
IProjectedCoordinateSystem3_FalseNorthing
virtual double IProjectedCoordinateSystem3_FalseNorthing { get; set; }
Returns
IProjectedCoordinateSystem3_Forward(int, ref WKSPoint)
virtual void IProjectedCoordinateSystem3_Forward(int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem3_GeographicCoordinateSystem
virtual IGeographicCoordinateSystem IProjectedCoordinateSystem3_GeographicCoordinateSystem { get; }
Returns
IProjectedCoordinateSystem3_GetDomain(out double, out double, out double, out double)
virtual void IProjectedCoordinateSystem3_GetDomain(out double XMin, out double XMax, out double YMin, out double YMax)
Parameters
IProjectedCoordinateSystem3_GetFalseOriginAndUnits(out double, out double, out double)
virtual void IProjectedCoordinateSystem3_GetFalseOriginAndUnits(out double falseX, out double falseY, out double xyUnits)
Parameters
IProjectedCoordinateSystem3_GetGCSParams(out double, out double)
virtual void IProjectedCoordinateSystem3_GetGCSParams(out double p_180, out double pDelta)
Parameters
IProjectedCoordinateSystem3_GetHorizon(out WKSEnvelope, out bool)
virtual IGeometry IProjectedCoordinateSystem3_GetHorizon(out WKSEnvelope horizonEnvelope, out bool Inclusive)
Parameters
horizonEnvelopeWKSEnvelopeInclusivebool
Returns
IProjectedCoordinateSystem3_GetMDomain(out double, out double)
virtual void IProjectedCoordinateSystem3_GetMDomain(out double outMMin, out double outMMax)
Parameters
IProjectedCoordinateSystem3_GetMFalseOriginAndUnits(out double, out double)
virtual void IProjectedCoordinateSystem3_GetMFalseOriginAndUnits(out double falseM, out double mUnits)
Parameters
IProjectedCoordinateSystem3_GetParameters(out IParameter)
virtual void IProjectedCoordinateSystem3_GetParameters(out IParameter parameters)
Parameters
parametersIParameter
IProjectedCoordinateSystem3_GetShiftedHorizon(int)
virtual IGeometry IProjectedCoordinateSystem3_GetShiftedHorizon(int shift)
Parameters
shiftint
Returns
IProjectedCoordinateSystem3_GetZDomain(out double, out double)
virtual void IProjectedCoordinateSystem3_GetZDomain(out double outZMin, out double outZMax)
Parameters
IProjectedCoordinateSystem3_GetZFalseOriginAndUnits(out double, out double)
virtual void IProjectedCoordinateSystem3_GetZFalseOriginAndUnits(out double falseZ, out double zUnits)
Parameters
IProjectedCoordinateSystem3_HasMPrecision()
virtual bool IProjectedCoordinateSystem3_HasMPrecision()
Returns
IProjectedCoordinateSystem3_HasXYPrecision()
virtual bool IProjectedCoordinateSystem3_HasXYPrecision()
Returns
IProjectedCoordinateSystem3_HasZPrecision()
virtual bool IProjectedCoordinateSystem3_HasZPrecision()
Returns
IProjectedCoordinateSystem3_Height
The height above the sphere in projected coordinate system units.
virtual double IProjectedCoordinateSystem3_Height { get; set; }
Returns
IProjectedCoordinateSystem3_Horizon[int]
virtual IntPtr IProjectedCoordinateSystem3_Horizon[int horizonIndex] { get; }
Parameters
horizonIndexint
Returns
IProjectedCoordinateSystem3_HorizonCount
virtual int IProjectedCoordinateSystem3_HorizonCount { get; }
Returns
IProjectedCoordinateSystem3_Inverse(int, ref WKSPoint)
virtual void IProjectedCoordinateSystem3_Inverse(int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem3_InverseWithShift(double, int, ref WKSPoint)
virtual void IProjectedCoordinateSystem3_InverseWithShift(double shift, int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem3_IsEqualNoNames(IProjectedCoordinateSystem)
virtual bool IProjectedCoordinateSystem3_IsEqualNoNames(IProjectedCoordinateSystem pOther)
Parameters
pOtherIProjectedCoordinateSystem
Returns
IProjectedCoordinateSystem3_IsPrecisionEqual(ISpatialReference, out bool)
virtual void IProjectedCoordinateSystem3_IsPrecisionEqual(ISpatialReference otherSR, out bool IsPrecisionEqual)
Parameters
otherSRISpatialReferenceIsPrecisionEqualbool
IProjectedCoordinateSystem3_LatitudeOf1st
virtual double IProjectedCoordinateSystem3_LatitudeOf1st { get; set; }
Returns
IProjectedCoordinateSystem3_LatitudeOf2nd
virtual double IProjectedCoordinateSystem3_LatitudeOf2nd { get; set; }
Returns
IProjectedCoordinateSystem3_LatitudeOfCenter
virtual double IProjectedCoordinateSystem3_LatitudeOfCenter { get; set; }
Returns
IProjectedCoordinateSystem3_LatitudeOfOrigin
virtual double IProjectedCoordinateSystem3_LatitudeOfOrigin { get; set; }
Returns
IProjectedCoordinateSystem3_LongitudeOf1st
virtual double IProjectedCoordinateSystem3_LongitudeOf1st { get; set; }
Returns
IProjectedCoordinateSystem3_LongitudeOf2nd
virtual double IProjectedCoordinateSystem3_LongitudeOf2nd { get; set; }
Returns
IProjectedCoordinateSystem3_LongitudeOfCenter
virtual double IProjectedCoordinateSystem3_LongitudeOfCenter { get; set; }
Returns
IProjectedCoordinateSystem3_LongitudeOfOrigin
virtual double IProjectedCoordinateSystem3_LongitudeOfOrigin { get; set; }
Returns
IProjectedCoordinateSystem3_Name
virtual string IProjectedCoordinateSystem3_Name { get; }
Returns
IProjectedCoordinateSystem3_PrecisionExImpl
virtual long IProjectedCoordinateSystem3_PrecisionExImpl { get; }
Returns
IProjectedCoordinateSystem3_PrecisionImpl
virtual long IProjectedCoordinateSystem3_PrecisionImpl { get; }
Returns
IProjectedCoordinateSystem3_Projection
virtual IProjection IProjectedCoordinateSystem3_Projection { get; }
Returns
IProjectedCoordinateSystem3_PseudoStandardParallel1
virtual double IProjectedCoordinateSystem3_PseudoStandardParallel1 { get; set; }
Returns
IProjectedCoordinateSystem3_PutLinearAndAngularUnits(ILinearUnit, IAngularUnit)
virtual void IProjectedCoordinateSystem3_PutLinearAndAngularUnits(ILinearUnit LinearUnit, IAngularUnit AngularUnit)
Parameters
LinearUnitILinearUnitAngularUnitIAngularUnit
IProjectedCoordinateSystem3_Remarks
virtual string IProjectedCoordinateSystem3_Remarks { get; }
Returns
IProjectedCoordinateSystem3_Rotation
virtual double IProjectedCoordinateSystem3_Rotation { get; set; }
Returns
IProjectedCoordinateSystem3_ScaleFactor
virtual double IProjectedCoordinateSystem3_ScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem3_SetDomain(double, double, double, double)
virtual void IProjectedCoordinateSystem3_SetDomain(double XMin, double XMax, double YMin, double YMax)
Parameters
IProjectedCoordinateSystem3_SetFalseOriginAndUnits(double, double, double)
virtual void IProjectedCoordinateSystem3_SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
Parameters
IProjectedCoordinateSystem3_SetMDomain(double, double)
virtual void IProjectedCoordinateSystem3_SetMDomain(double inMMin, double inMMax)
Parameters
IProjectedCoordinateSystem3_SetMFalseOriginAndUnits(double, double)
virtual void IProjectedCoordinateSystem3_SetMFalseOriginAndUnits(double falseM, double mUnits)
Parameters
IProjectedCoordinateSystem3_SetZDomain(double, double)
virtual void IProjectedCoordinateSystem3_SetZDomain(double inZMin, double inZMax)
Parameters
IProjectedCoordinateSystem3_SetZFalseOriginAndUnits(double, double)
virtual void IProjectedCoordinateSystem3_SetZFalseOriginAndUnits(double falseZ, double zUnits)
Parameters
IProjectedCoordinateSystem3_SpatialReferenceImpl
virtual long IProjectedCoordinateSystem3_SpatialReferenceImpl { get; }
Returns
IProjectedCoordinateSystem3_StandardParallel1
virtual double IProjectedCoordinateSystem3_StandardParallel1 { get; set; }
Returns
IProjectedCoordinateSystem3_StandardParallel2
virtual double IProjectedCoordinateSystem3_StandardParallel2 { get; set; }
Returns
IProjectedCoordinateSystem3_Usage
virtual string IProjectedCoordinateSystem3_Usage { get; }
Returns
IProjectedCoordinateSystem3_XScaleFactor
virtual double IProjectedCoordinateSystem3_XScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem3_YScaleFactor
virtual double IProjectedCoordinateSystem3_YScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem3_ZCoordinateUnit
virtual ILinearUnit IProjectedCoordinateSystem3_ZCoordinateUnit { get; set; }
Returns
IProjectedCoordinateSystem4_Abbreviation
virtual string IProjectedCoordinateSystem4_Abbreviation { get; }
Returns
IProjectedCoordinateSystem4_Alias
virtual string IProjectedCoordinateSystem4_Alias { get; }
Returns
IProjectedCoordinateSystem4_Azimuth
virtual double IProjectedCoordinateSystem4_Azimuth { get; set; }
Returns
IProjectedCoordinateSystem4_CentralMeridian[bool]
virtual double IProjectedCoordinateSystem4_CentralMeridian[bool inDegrees] { get; set; }
Parameters
inDegreesbool
Returns
IProjectedCoordinateSystem4_CentralParallel
virtual double IProjectedCoordinateSystem4_CentralParallel { get; set; }
Returns
IProjectedCoordinateSystem4_Changed()
virtual void IProjectedCoordinateSystem4_Changed()
IProjectedCoordinateSystem4_CoordinateUnit
virtual ILinearUnit IProjectedCoordinateSystem4_CoordinateUnit { get; }
Returns
IProjectedCoordinateSystem4_FactoryCode
virtual int IProjectedCoordinateSystem4_FactoryCode { get; }
Returns
IProjectedCoordinateSystem4_FalseEasting
virtual double IProjectedCoordinateSystem4_FalseEasting { get; set; }
Returns
IProjectedCoordinateSystem4_FalseNorthing
virtual double IProjectedCoordinateSystem4_FalseNorthing { get; set; }
Returns
IProjectedCoordinateSystem4_Forward(int, ref WKSPoint)
virtual void IProjectedCoordinateSystem4_Forward(int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem4_GeographicCoordinateSystem
virtual IGeographicCoordinateSystem IProjectedCoordinateSystem4_GeographicCoordinateSystem { get; }
Returns
IProjectedCoordinateSystem4_GetCentralLongitude()
Returns CentralLongitude of the projected coordinate system. Always defined, unlike CentralMeridian or LongitudeOfCenter.
virtual double IProjectedCoordinateSystem4_GetCentralLongitude()
Returns
IProjectedCoordinateSystem4_GetDomain(out double, out double, out double, out double)
virtual void IProjectedCoordinateSystem4_GetDomain(out double XMin, out double XMax, out double YMin, out double YMax)
Parameters
IProjectedCoordinateSystem4_GetFalseOriginAndUnits(out double, out double, out double)
virtual void IProjectedCoordinateSystem4_GetFalseOriginAndUnits(out double falseX, out double falseY, out double xyUnits)
Parameters
IProjectedCoordinateSystem4_GetGCSParams(out double, out double)
virtual void IProjectedCoordinateSystem4_GetGCSParams(out double p_180, out double pDelta)
Parameters
IProjectedCoordinateSystem4_GetHorizon(out WKSEnvelope, out bool)
virtual IGeometry IProjectedCoordinateSystem4_GetHorizon(out WKSEnvelope horizonEnvelope, out bool Inclusive)
Parameters
horizonEnvelopeWKSEnvelopeInclusivebool
Returns
IProjectedCoordinateSystem4_GetMDomain(out double, out double)
virtual void IProjectedCoordinateSystem4_GetMDomain(out double outMMin, out double outMMax)
Parameters
IProjectedCoordinateSystem4_GetMFalseOriginAndUnits(out double, out double)
virtual void IProjectedCoordinateSystem4_GetMFalseOriginAndUnits(out double falseM, out double mUnits)
Parameters
IProjectedCoordinateSystem4_GetNorthPole()
Returns the north pole in projected coordinates, or an empty point if the north pole is outside the PCS horizon.
virtual WKSPoint IProjectedCoordinateSystem4_GetNorthPole()
Returns
IProjectedCoordinateSystem4_GetNorthPoleGeometry()
Returns type of north pole geometry.
virtual esriSRPoleGeometry IProjectedCoordinateSystem4_GetNorthPoleGeometry()
Returns
IProjectedCoordinateSystem4_GetNorthPoleLocation()
Returns type of location of north pole with respect to the PCS horizon.
virtual esriSRPoleLocation IProjectedCoordinateSystem4_GetNorthPoleLocation()
Returns
IProjectedCoordinateSystem4_GetPCSHorizon(out WKSEnvelope, out bool)
Returns PCS horizon polygon, its envelope and whether it is inclusive or exclusive; the horizon polygon may be 0.
virtual IGeometry IProjectedCoordinateSystem4_GetPCSHorizon(out WKSEnvelope horizonEnvelope, out bool Inclusive)
Parameters
horizonEnvelopeWKSEnvelopeInclusivebool
Returns
Remarks
GetPCSHorizon retrieves the polygon that describes the valid area of a a projected coordinate system in PCS coordinates and unit of measure. Use IProjectedCoordinateSystem5::GetPCSHorizonEnvelope to retrieve the envelope of the PCS horizon.
IProjectedCoordinateSystem4_GetParameters(out IParameter)
virtual void IProjectedCoordinateSystem4_GetParameters(out IParameter parameters)
Parameters
parametersIParameter
IProjectedCoordinateSystem4_GetShiftedHorizon(int)
virtual IGeometry IProjectedCoordinateSystem4_GetShiftedHorizon(int shift)
Parameters
shiftint
Returns
IProjectedCoordinateSystem4_GetSouthPole()
Returns the south pole in projected coordinates, or an empty point if the south pole is outside the PCS horizon.
virtual WKSPoint IProjectedCoordinateSystem4_GetSouthPole()
Returns
IProjectedCoordinateSystem4_GetSouthPoleGeometry()
Returns type of south pole geometry.
virtual esriSRPoleGeometry IProjectedCoordinateSystem4_GetSouthPoleGeometry()
Returns
IProjectedCoordinateSystem4_GetSouthPoleLocation()
Returns type of location of south pole with respect to the PCS horizon.
virtual esriSRPoleLocation IProjectedCoordinateSystem4_GetSouthPoleLocation()
Returns
IProjectedCoordinateSystem4_GetZDomain(out double, out double)
virtual void IProjectedCoordinateSystem4_GetZDomain(out double outZMin, out double outZMax)
Parameters
IProjectedCoordinateSystem4_GetZFalseOriginAndUnits(out double, out double)
virtual void IProjectedCoordinateSystem4_GetZFalseOriginAndUnits(out double falseZ, out double zUnits)
Parameters
IProjectedCoordinateSystem4_HasMPrecision()
virtual bool IProjectedCoordinateSystem4_HasMPrecision()
Returns
IProjectedCoordinateSystem4_HasXYPrecision()
virtual bool IProjectedCoordinateSystem4_HasXYPrecision()
Returns
IProjectedCoordinateSystem4_HasZPrecision()
virtual bool IProjectedCoordinateSystem4_HasZPrecision()
Returns
IProjectedCoordinateSystem4_Height
virtual double IProjectedCoordinateSystem4_Height { get; set; }
Returns
IProjectedCoordinateSystem4_Horizon[int]
virtual IntPtr IProjectedCoordinateSystem4_Horizon[int horizonIndex] { get; }
Parameters
horizonIndexint
Returns
IProjectedCoordinateSystem4_HorizonCount
virtual int IProjectedCoordinateSystem4_HorizonCount { get; }
Returns
IProjectedCoordinateSystem4_Inverse(int, ref WKSPoint)
virtual void IProjectedCoordinateSystem4_Inverse(int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem4_InverseWithShift(double, int, ref WKSPoint)
virtual void IProjectedCoordinateSystem4_InverseWithShift(double shift, int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem4_IsEqualNoNames(IProjectedCoordinateSystem)
virtual bool IProjectedCoordinateSystem4_IsEqualNoNames(IProjectedCoordinateSystem pOther)
Parameters
pOtherIProjectedCoordinateSystem
Returns
IProjectedCoordinateSystem4_IsHorizonConvexHull()
Returns true if PCS horizon is convex.
virtual bool IProjectedCoordinateSystem4_IsHorizonConvexHull()
Returns
Remarks
The PCS horizon is the valid area of a projected coordinate system, in the units of the PCS.
IProjectedCoordinateSystem4_IsHorizonEdgeDuplicated()
Returns true if some edges of PCS horizon project inversely to identical lines.
virtual bool IProjectedCoordinateSystem4_IsHorizonEdgeDuplicated()
Returns
Remarks
The PCS horizon is the valid area of a projected coordinate system, in the units of the PCS.
IProjectedCoordinateSystem4_IsHorizonEntireWorld()
Returns true if PCS horizon contains the entire world.
virtual bool IProjectedCoordinateSystem4_IsHorizonEntireWorld()
Returns
Remarks
The PCS horizon is the valid area of a projected coordinate system, in the units of the PCS.
IProjectedCoordinateSystem4_IsPrecisionEqual(ISpatialReference, out bool)
virtual void IProjectedCoordinateSystem4_IsPrecisionEqual(ISpatialReference otherSR, out bool IsPrecisionEqual)
Parameters
otherSRISpatialReferenceIsPrecisionEqualbool
IProjectedCoordinateSystem4_LatitudeOf1st
virtual double IProjectedCoordinateSystem4_LatitudeOf1st { get; set; }
Returns
IProjectedCoordinateSystem4_LatitudeOf2nd
virtual double IProjectedCoordinateSystem4_LatitudeOf2nd { get; set; }
Returns
IProjectedCoordinateSystem4_LatitudeOfCenter
virtual double IProjectedCoordinateSystem4_LatitudeOfCenter { get; set; }
Returns
IProjectedCoordinateSystem4_LatitudeOfOrigin
virtual double IProjectedCoordinateSystem4_LatitudeOfOrigin { get; set; }
Returns
IProjectedCoordinateSystem4_LongitudeOf1st
virtual double IProjectedCoordinateSystem4_LongitudeOf1st { get; set; }
Returns
IProjectedCoordinateSystem4_LongitudeOf2nd
virtual double IProjectedCoordinateSystem4_LongitudeOf2nd { get; set; }
Returns
IProjectedCoordinateSystem4_LongitudeOfCenter
virtual double IProjectedCoordinateSystem4_LongitudeOfCenter { get; set; }
Returns
IProjectedCoordinateSystem4_LongitudeOfOrigin
virtual double IProjectedCoordinateSystem4_LongitudeOfOrigin { get; set; }
Returns
IProjectedCoordinateSystem4_Name
virtual string IProjectedCoordinateSystem4_Name { get; }
Returns
IProjectedCoordinateSystem4_PrecisionExImpl
virtual long IProjectedCoordinateSystem4_PrecisionExImpl { get; }
Returns
IProjectedCoordinateSystem4_PrecisionImpl
virtual long IProjectedCoordinateSystem4_PrecisionImpl { get; }
Returns
IProjectedCoordinateSystem4_Projection
virtual IProjection IProjectedCoordinateSystem4_Projection { get; }
Returns
IProjectedCoordinateSystem4_PseudoStandardParallel1
virtual double IProjectedCoordinateSystem4_PseudoStandardParallel1 { get; set; }
Returns
IProjectedCoordinateSystem4_PutLinearAndAngularUnits(ILinearUnit, IAngularUnit)
virtual void IProjectedCoordinateSystem4_PutLinearAndAngularUnits(ILinearUnit LinearUnit, IAngularUnit AngularUnit)
Parameters
LinearUnitILinearUnitAngularUnitIAngularUnit
IProjectedCoordinateSystem4_Remarks
virtual string IProjectedCoordinateSystem4_Remarks { get; }
Returns
IProjectedCoordinateSystem4_Rotation
virtual double IProjectedCoordinateSystem4_Rotation { get; set; }
Returns
IProjectedCoordinateSystem4_ScaleFactor
virtual double IProjectedCoordinateSystem4_ScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem4_SetDomain(double, double, double, double)
virtual void IProjectedCoordinateSystem4_SetDomain(double XMin, double XMax, double YMin, double YMax)
Parameters
IProjectedCoordinateSystem4_SetFalseOriginAndUnits(double, double, double)
virtual void IProjectedCoordinateSystem4_SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
Parameters
IProjectedCoordinateSystem4_SetMDomain(double, double)
virtual void IProjectedCoordinateSystem4_SetMDomain(double inMMin, double inMMax)
Parameters
IProjectedCoordinateSystem4_SetMFalseOriginAndUnits(double, double)
virtual void IProjectedCoordinateSystem4_SetMFalseOriginAndUnits(double falseM, double mUnits)
Parameters
IProjectedCoordinateSystem4_SetZDomain(double, double)
virtual void IProjectedCoordinateSystem4_SetZDomain(double inZMin, double inZMax)
Parameters
IProjectedCoordinateSystem4_SetZFalseOriginAndUnits(double, double)
virtual void IProjectedCoordinateSystem4_SetZFalseOriginAndUnits(double falseZ, double zUnits)
Parameters
IProjectedCoordinateSystem4_SpatialReferenceImpl
virtual long IProjectedCoordinateSystem4_SpatialReferenceImpl { get; }
Returns
IProjectedCoordinateSystem4_StandardParallel1
virtual double IProjectedCoordinateSystem4_StandardParallel1 { get; set; }
Returns
IProjectedCoordinateSystem4_StandardParallel2
virtual double IProjectedCoordinateSystem4_StandardParallel2 { get; set; }
Returns
IProjectedCoordinateSystem4_Usage
virtual string IProjectedCoordinateSystem4_Usage { get; }
Returns
IProjectedCoordinateSystem4_XScaleFactor
virtual double IProjectedCoordinateSystem4_XScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem4_YScaleFactor
virtual double IProjectedCoordinateSystem4_YScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem4_ZCoordinateUnit
virtual ILinearUnit IProjectedCoordinateSystem4_ZCoordinateUnit { get; set; }
Returns
IProjectedCoordinateSystem5_Abbreviation
virtual string IProjectedCoordinateSystem5_Abbreviation { get; }
Returns
IProjectedCoordinateSystem5_Alias
virtual string IProjectedCoordinateSystem5_Alias { get; }
Returns
IProjectedCoordinateSystem5_Azimuth
virtual double IProjectedCoordinateSystem5_Azimuth { get; set; }
Returns
IProjectedCoordinateSystem5_CentralMeridian[bool]
virtual double IProjectedCoordinateSystem5_CentralMeridian[bool inDegrees] { get; set; }
Parameters
inDegreesbool
Returns
IProjectedCoordinateSystem5_CentralParallel
virtual double IProjectedCoordinateSystem5_CentralParallel { get; set; }
Returns
IProjectedCoordinateSystem5_Changed()
virtual void IProjectedCoordinateSystem5_Changed()
IProjectedCoordinateSystem5_CoordinateUnit
virtual ILinearUnit IProjectedCoordinateSystem5_CoordinateUnit { get; }
Returns
IProjectedCoordinateSystem5_FactoryCode
virtual int IProjectedCoordinateSystem5_FactoryCode { get; }
Returns
IProjectedCoordinateSystem5_FalseEasting
virtual double IProjectedCoordinateSystem5_FalseEasting { get; set; }
Returns
IProjectedCoordinateSystem5_FalseNorthing
virtual double IProjectedCoordinateSystem5_FalseNorthing { get; set; }
Returns
IProjectedCoordinateSystem5_Forward(int, ref WKSPoint)
virtual void IProjectedCoordinateSystem5_Forward(int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem5_GeographicCoordinateSystem
virtual IGeographicCoordinateSystem IProjectedCoordinateSystem5_GeographicCoordinateSystem { get; }
Returns
IProjectedCoordinateSystem5_GetCentralLongitude()
virtual double IProjectedCoordinateSystem5_GetCentralLongitude()
Returns
IProjectedCoordinateSystem5_GetDomain(out double, out double, out double, out double)
virtual void IProjectedCoordinateSystem5_GetDomain(out double XMin, out double XMax, out double YMin, out double YMax)
Parameters
IProjectedCoordinateSystem5_GetFalseOriginAndUnits(out double, out double, out double)
virtual void IProjectedCoordinateSystem5_GetFalseOriginAndUnits(out double falseX, out double falseY, out double xyUnits)
Parameters
IProjectedCoordinateSystem5_GetGCSParams(out double, out double)
virtual void IProjectedCoordinateSystem5_GetGCSParams(out double p_180, out double pDelta)
Parameters
IProjectedCoordinateSystem5_GetHorizon(out WKSEnvelope, out bool)
virtual IGeometry IProjectedCoordinateSystem5_GetHorizon(out WKSEnvelope horizonEnvelope, out bool Inclusive)
Parameters
horizonEnvelopeWKSEnvelopeInclusivebool
Returns
IProjectedCoordinateSystem5_GetMDomain(out double, out double)
virtual void IProjectedCoordinateSystem5_GetMDomain(out double outMMin, out double outMMax)
Parameters
IProjectedCoordinateSystem5_GetMFalseOriginAndUnits(out double, out double)
virtual void IProjectedCoordinateSystem5_GetMFalseOriginAndUnits(out double falseM, out double mUnits)
Parameters
IProjectedCoordinateSystem5_GetNorthPole()
virtual WKSPoint IProjectedCoordinateSystem5_GetNorthPole()
Returns
IProjectedCoordinateSystem5_GetNorthPoleGeometry()
virtual esriSRPoleGeometry IProjectedCoordinateSystem5_GetNorthPoleGeometry()
Returns
IProjectedCoordinateSystem5_GetNorthPoleLocation()
virtual esriSRPoleLocation IProjectedCoordinateSystem5_GetNorthPoleLocation()
Returns
IProjectedCoordinateSystem5_GetPCSHorizon(out WKSEnvelope, out bool)
virtual IGeometry IProjectedCoordinateSystem5_GetPCSHorizon(out WKSEnvelope horizonEnvelope, out bool Inclusive)
Parameters
horizonEnvelopeWKSEnvelopeInclusivebool
Returns
IProjectedCoordinateSystem5_GetParameters(out IParameter)
virtual void IProjectedCoordinateSystem5_GetParameters(out IParameter parameters)
Parameters
parametersIParameter
IProjectedCoordinateSystem5_GetShiftedHorizon(int)
virtual IGeometry IProjectedCoordinateSystem5_GetShiftedHorizon(int shift)
Parameters
shiftint
Returns
IProjectedCoordinateSystem5_GetSouthPole()
virtual WKSPoint IProjectedCoordinateSystem5_GetSouthPole()
Returns
IProjectedCoordinateSystem5_GetSouthPoleGeometry()
virtual esriSRPoleGeometry IProjectedCoordinateSystem5_GetSouthPoleGeometry()
Returns
IProjectedCoordinateSystem5_GetSouthPoleLocation()
virtual esriSRPoleLocation IProjectedCoordinateSystem5_GetSouthPoleLocation()
Returns
IProjectedCoordinateSystem5_GetZDomain(out double, out double)
virtual void IProjectedCoordinateSystem5_GetZDomain(out double outZMin, out double outZMax)
Parameters
IProjectedCoordinateSystem5_GetZFalseOriginAndUnits(out double, out double)
virtual void IProjectedCoordinateSystem5_GetZFalseOriginAndUnits(out double falseZ, out double zUnits)
Parameters
IProjectedCoordinateSystem5_HasMPrecision()
virtual bool IProjectedCoordinateSystem5_HasMPrecision()
Returns
IProjectedCoordinateSystem5_HasXYPrecision()
virtual bool IProjectedCoordinateSystem5_HasXYPrecision()
Returns
IProjectedCoordinateSystem5_HasZPrecision()
virtual bool IProjectedCoordinateSystem5_HasZPrecision()
Returns
IProjectedCoordinateSystem5_Height
virtual double IProjectedCoordinateSystem5_Height { get; set; }
Returns
IProjectedCoordinateSystem5_Horizon[int]
virtual IntPtr IProjectedCoordinateSystem5_Horizon[int horizonIndex] { get; }
Parameters
horizonIndexint
Returns
IProjectedCoordinateSystem5_HorizonCount
virtual int IProjectedCoordinateSystem5_HorizonCount { get; }
Returns
IProjectedCoordinateSystem5_Inverse(int, ref WKSPoint)
virtual void IProjectedCoordinateSystem5_Inverse(int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem5_InverseWithShift(double, int, ref WKSPoint)
virtual void IProjectedCoordinateSystem5_InverseWithShift(double shift, int Count, ref WKSPoint Points)
Parameters
IProjectedCoordinateSystem5_IsEqualNoNames(IProjectedCoordinateSystem)
virtual bool IProjectedCoordinateSystem5_IsEqualNoNames(IProjectedCoordinateSystem pOther)
Parameters
pOtherIProjectedCoordinateSystem
Returns
IProjectedCoordinateSystem5_IsHorizonConvexHull()
virtual bool IProjectedCoordinateSystem5_IsHorizonConvexHull()
Returns
IProjectedCoordinateSystem5_IsHorizonEdgeDuplicated()
virtual bool IProjectedCoordinateSystem5_IsHorizonEdgeDuplicated()
Returns
IProjectedCoordinateSystem5_IsHorizonEntireWorld()
virtual bool IProjectedCoordinateSystem5_IsHorizonEntireWorld()
Returns
IProjectedCoordinateSystem5_IsPrecisionEqual(ISpatialReference, out bool)
virtual void IProjectedCoordinateSystem5_IsPrecisionEqual(ISpatialReference otherSR, out bool IsPrecisionEqual)
Parameters
otherSRISpatialReferenceIsPrecisionEqualbool
IProjectedCoordinateSystem5_LatitudeOf1st
virtual double IProjectedCoordinateSystem5_LatitudeOf1st { get; set; }
Returns
IProjectedCoordinateSystem5_LatitudeOf2nd
virtual double IProjectedCoordinateSystem5_LatitudeOf2nd { get; set; }
Returns
IProjectedCoordinateSystem5_LatitudeOfCenter
virtual double IProjectedCoordinateSystem5_LatitudeOfCenter { get; set; }
Returns
IProjectedCoordinateSystem5_LatitudeOfOrigin
virtual double IProjectedCoordinateSystem5_LatitudeOfOrigin { get; set; }
Returns
IProjectedCoordinateSystem5_LongitudeOf1st
virtual double IProjectedCoordinateSystem5_LongitudeOf1st { get; set; }
Returns
IProjectedCoordinateSystem5_LongitudeOf2nd
virtual double IProjectedCoordinateSystem5_LongitudeOf2nd { get; set; }
Returns
IProjectedCoordinateSystem5_LongitudeOfCenter
virtual double IProjectedCoordinateSystem5_LongitudeOfCenter { get; set; }
Returns
IProjectedCoordinateSystem5_LongitudeOfOrigin
virtual double IProjectedCoordinateSystem5_LongitudeOfOrigin { get; set; }
Returns
IProjectedCoordinateSystem5_Name
virtual string IProjectedCoordinateSystem5_Name { get; }
Returns
IProjectedCoordinateSystem5_PrecisionExImpl
virtual long IProjectedCoordinateSystem5_PrecisionExImpl { get; }
Returns
IProjectedCoordinateSystem5_PrecisionImpl
virtual long IProjectedCoordinateSystem5_PrecisionImpl { get; }
Returns
IProjectedCoordinateSystem5_Projection
virtual IProjection IProjectedCoordinateSystem5_Projection { get; }
Returns
IProjectedCoordinateSystem5_PseudoStandardParallel1
virtual double IProjectedCoordinateSystem5_PseudoStandardParallel1 { get; set; }
Returns
IProjectedCoordinateSystem5_PutLinearAndAngularUnits(ILinearUnit, IAngularUnit)
virtual void IProjectedCoordinateSystem5_PutLinearAndAngularUnits(ILinearUnit LinearUnit, IAngularUnit AngularUnit)
Parameters
LinearUnitILinearUnitAngularUnitIAngularUnit
IProjectedCoordinateSystem5_Remarks
virtual string IProjectedCoordinateSystem5_Remarks { get; }
Returns
IProjectedCoordinateSystem5_Rotation
virtual double IProjectedCoordinateSystem5_Rotation { get; set; }
Returns
IProjectedCoordinateSystem5_ScaleFactor
virtual double IProjectedCoordinateSystem5_ScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem5_SetDomain(double, double, double, double)
virtual void IProjectedCoordinateSystem5_SetDomain(double XMin, double XMax, double YMin, double YMax)
Parameters
IProjectedCoordinateSystem5_SetFalseOriginAndUnits(double, double, double)
virtual void IProjectedCoordinateSystem5_SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
Parameters
IProjectedCoordinateSystem5_SetMDomain(double, double)
virtual void IProjectedCoordinateSystem5_SetMDomain(double inMMin, double inMMax)
Parameters
IProjectedCoordinateSystem5_SetMFalseOriginAndUnits(double, double)
virtual void IProjectedCoordinateSystem5_SetMFalseOriginAndUnits(double falseM, double mUnits)
Parameters
IProjectedCoordinateSystem5_SetZDomain(double, double)
virtual void IProjectedCoordinateSystem5_SetZDomain(double inZMin, double inZMax)
Parameters
IProjectedCoordinateSystem5_SetZFalseOriginAndUnits(double, double)
virtual void IProjectedCoordinateSystem5_SetZFalseOriginAndUnits(double falseZ, double zUnits)
Parameters
IProjectedCoordinateSystem5_SpatialReferenceImpl
virtual long IProjectedCoordinateSystem5_SpatialReferenceImpl { get; }
Returns
IProjectedCoordinateSystem5_StandardParallel1
virtual double IProjectedCoordinateSystem5_StandardParallel1 { get; set; }
Returns
IProjectedCoordinateSystem5_StandardParallel2
virtual double IProjectedCoordinateSystem5_StandardParallel2 { get; set; }
Returns
IProjectedCoordinateSystem5_Usage
virtual string IProjectedCoordinateSystem5_Usage { get; }
Returns
IProjectedCoordinateSystem5_XScaleFactor
virtual double IProjectedCoordinateSystem5_XScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem5_YScaleFactor
virtual double IProjectedCoordinateSystem5_YScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem5_ZCoordinateUnit
virtual ILinearUnit IProjectedCoordinateSystem5_ZCoordinateUnit { get; set; }
Returns
IProjectedCoordinateSystem_Abbreviation
virtual string IProjectedCoordinateSystem_Abbreviation { get; }
Returns
IProjectedCoordinateSystem_Alias
virtual string IProjectedCoordinateSystem_Alias { get; }
Returns
IProjectedCoordinateSystem_Azimuth
The azimuth of a projected coordinate system.
virtual double IProjectedCoordinateSystem_Azimuth { get; set; }
Returns
IProjectedCoordinateSystem_CentralMeridian[bool]
The central meridian (Lambda0) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_CentralMeridian[bool inDegrees] { get; set; }
Parameters
inDegreesbool
Returns
IProjectedCoordinateSystem_CentralParallel
The central parallel (Phi 0) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_CentralParallel { get; set; }
Returns
IProjectedCoordinateSystem_Changed()
virtual void IProjectedCoordinateSystem_Changed()
IProjectedCoordinateSystem_CoordinateUnit
The linear unit of a projected coordinate system.
virtual ILinearUnit IProjectedCoordinateSystem_CoordinateUnit { get; }
Returns
IProjectedCoordinateSystem_FactoryCode
virtual int IProjectedCoordinateSystem_FactoryCode { get; }
Returns
IProjectedCoordinateSystem_FalseEasting
The false easting (X0) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_FalseEasting { get; set; }
Returns
IProjectedCoordinateSystem_FalseNorthing
The false northing (Y0) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_FalseNorthing { get; set; }
Returns
IProjectedCoordinateSystem_GeographicCoordinateSystem
The geographic coordinate system of a projected coordinate system.
virtual IGeographicCoordinateSystem IProjectedCoordinateSystem_GeographicCoordinateSystem { get; }
Returns
Remarks
<P>The <STRONG>IClone::IsIdentical</STRONG> method is not implemented. </P>
IProjectedCoordinateSystem_GetDomain(out double, out double, out double, out double)
virtual void IProjectedCoordinateSystem_GetDomain(out double XMin, out double XMax, out double YMin, out double YMax)
Parameters
IProjectedCoordinateSystem_GetFalseOriginAndUnits(out double, out double, out double)
virtual void IProjectedCoordinateSystem_GetFalseOriginAndUnits(out double falseX, out double falseY, out double xyUnits)
Parameters
IProjectedCoordinateSystem_GetMDomain(out double, out double)
virtual void IProjectedCoordinateSystem_GetMDomain(out double outMMin, out double outMMax)
Parameters
IProjectedCoordinateSystem_GetMFalseOriginAndUnits(out double, out double)
virtual void IProjectedCoordinateSystem_GetMFalseOriginAndUnits(out double falseM, out double mUnits)
Parameters
IProjectedCoordinateSystem_GetZDomain(out double, out double)
virtual void IProjectedCoordinateSystem_GetZDomain(out double outZMin, out double outZMax)
Parameters
IProjectedCoordinateSystem_GetZFalseOriginAndUnits(out double, out double)
virtual void IProjectedCoordinateSystem_GetZFalseOriginAndUnits(out double falseZ, out double zUnits)
Parameters
IProjectedCoordinateSystem_HasMPrecision()
virtual bool IProjectedCoordinateSystem_HasMPrecision()
Returns
IProjectedCoordinateSystem_HasXYPrecision()
virtual bool IProjectedCoordinateSystem_HasXYPrecision()
Returns
IProjectedCoordinateSystem_HasZPrecision()
virtual bool IProjectedCoordinateSystem_HasZPrecision()
Returns
IProjectedCoordinateSystem_Horizon[int]
The mathematical limits of a projected coordinate system.
virtual IntPtr IProjectedCoordinateSystem_Horizon[int horizonIndex] { get; }
Parameters
horizonIndexint
Returns
Remarks
Obsolete. Use IProjectedCoordinateSystem2::GetHorizon.
IProjectedCoordinateSystem_HorizonCount
The number of shapes that describe the limits of a ProjCS.
virtual int IProjectedCoordinateSystem_HorizonCount { get; }
Returns
Remarks
Obsolete. Use IProjectedCoordinateSystem2::GetHorizon.
IProjectedCoordinateSystem_IsPrecisionEqual(ISpatialReference, out bool)
virtual void IProjectedCoordinateSystem_IsPrecisionEqual(ISpatialReference otherSR, out bool IsPrecisionEqual)
Parameters
otherSRISpatialReferenceIsPrecisionEqualbool
IProjectedCoordinateSystem_LatitudeOf1st
The latitude of the first point (Phi 1) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_LatitudeOf1st { get; set; }
Returns
IProjectedCoordinateSystem_LatitudeOf2nd
The latitude of the second point (Phi 2) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_LatitudeOf2nd { get; set; }
Returns
IProjectedCoordinateSystem_LongitudeOf1st
The longitude of the first point (Lambda 1) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_LongitudeOf1st { get; set; }
Returns
IProjectedCoordinateSystem_LongitudeOf2nd
The longitude of the second point (Lambda 2) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_LongitudeOf2nd { get; set; }
Returns
IProjectedCoordinateSystem_LongitudeOfOrigin
The longitude of origin (Lambda0) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_LongitudeOfOrigin { get; set; }
Returns
IProjectedCoordinateSystem_Name
virtual string IProjectedCoordinateSystem_Name { get; }
Returns
IProjectedCoordinateSystem_PrecisionExImpl
virtual long IProjectedCoordinateSystem_PrecisionExImpl { get; }
Returns
IProjectedCoordinateSystem_PrecisionImpl
virtual long IProjectedCoordinateSystem_PrecisionImpl { get; }
Returns
IProjectedCoordinateSystem_Projection
The map projection of a projected coordinate system.
virtual IProjection IProjectedCoordinateSystem_Projection { get; }
Returns
Remarks
<P>A Projection object encapsulates the mathematics needed to convert geographic coordinates between two different coordinate systems. A projection is a component of a projected coordinate system and is not usually used directly. Rather, a projected cooordinate system is defined and used to project cooordinates.</P>
IProjectedCoordinateSystem_Remarks
virtual string IProjectedCoordinateSystem_Remarks { get; }
Returns
IProjectedCoordinateSystem_ScaleFactor
The scale factor (K0) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_ScaleFactor { get; set; }
Returns
IProjectedCoordinateSystem_SetDomain(double, double, double, double)
virtual void IProjectedCoordinateSystem_SetDomain(double XMin, double XMax, double YMin, double YMax)
Parameters
IProjectedCoordinateSystem_SetFalseOriginAndUnits(double, double, double)
virtual void IProjectedCoordinateSystem_SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
Parameters
IProjectedCoordinateSystem_SetMDomain(double, double)
virtual void IProjectedCoordinateSystem_SetMDomain(double inMMin, double inMMax)
Parameters
IProjectedCoordinateSystem_SetMFalseOriginAndUnits(double, double)
virtual void IProjectedCoordinateSystem_SetMFalseOriginAndUnits(double falseM, double mUnits)
Parameters
IProjectedCoordinateSystem_SetZDomain(double, double)
virtual void IProjectedCoordinateSystem_SetZDomain(double inZMin, double inZMax)
Parameters
IProjectedCoordinateSystem_SetZFalseOriginAndUnits(double, double)
virtual void IProjectedCoordinateSystem_SetZFalseOriginAndUnits(double falseZ, double zUnits)
Parameters
IProjectedCoordinateSystem_SpatialReferenceImpl
virtual long IProjectedCoordinateSystem_SpatialReferenceImpl { get; }
Returns
IProjectedCoordinateSystem_StandardParallel1
The first parallel (Phi 1) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_StandardParallel1 { get; set; }
Returns
IProjectedCoordinateSystem_StandardParallel2
The second parallel (Phi 2) of a projected coordinate system.
virtual double IProjectedCoordinateSystem_StandardParallel2 { get; set; }
Returns
IProjectedCoordinateSystem_Usage
The usage notes of a projected coordinate system.
virtual string IProjectedCoordinateSystem_Usage { get; }
Returns
IProjectedCoordinateSystem_ZCoordinateUnit
virtual ILinearUnit IProjectedCoordinateSystem_ZCoordinateUnit { get; set; }
Returns
ISRPersistStream_GetClassID(out Guid)
virtual void ISRPersistStream_GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
ISRPersistStream_GetSizeMax(out _ULARGE_INTEGER)
virtual void ISRPersistStream_GetSizeMax(out _ULARGE_INTEGER pcbSize)
Parameters
pcbSize_ULARGE_INTEGER
ISRPersistStream_IsDirty()
virtual void ISRPersistStream_IsDirty()
ISRPersistStream_Load(IStream)
virtual void ISRPersistStream_Load(IStream pstm)
Parameters
pstmIStream
ISRPersistStream_Save(IStream, int)
virtual void ISRPersistStream_Save(IStream pstm, int fClearDirty)
Parameters
ISpatialReference2GEN_Abbreviation
The abbreviated name of this spatial reference component.
virtual string ISpatialReference2GEN_Abbreviation { get; }
Returns
ISpatialReference2GEN_Alias
The alias of this spatial reference component.
virtual string ISpatialReference2GEN_Alias { get; }
Returns
ISpatialReference2GEN_Changed()
Notify this object that some of its parts have changed (parameter values, z unit, etc.).
virtual void ISpatialReference2GEN_Changed()
ISpatialReference2GEN_FactoryCode
The factory code of the spatial reference.
virtual int ISpatialReference2GEN_FactoryCode { get; }
Returns
Remarks
The factory code is an integer identifier that is unique by projection engine object type, such as a projected coordinate system. You can use a factory code in the ISpatialReferenceFactory::CreateProjectedCoordinateSystem method for example. If you create a custom projected coordinate system, the factory code is zero.
ISpatialReference2GEN_GetDomain(ref double, ref double, ref double, ref double)
Get the domain extent.
virtual void ISpatialReference2GEN_GetDomain(ref double XMin, ref double XMax, ref double YMin, ref double YMax)
Parameters
ISpatialReference2GEN_GetFalseOriginAndUnits(ref double, ref double, ref double)
Get the false origin and units.
virtual void ISpatialReference2GEN_GetFalseOriginAndUnits(ref double falseX, ref double falseY, ref double xyUnits)
Parameters
ISpatialReference2GEN_GetMDomain(ref double, ref double)
Get the measure domain extent.
virtual void ISpatialReference2GEN_GetMDomain(ref double outMMin, ref double outMMax)
Parameters
ISpatialReference2GEN_GetMFalseOriginAndUnits(ref double, ref double)
Get the measure false origin and units.
virtual void ISpatialReference2GEN_GetMFalseOriginAndUnits(ref double falseM, ref double mUnits)
Parameters
ISpatialReference2GEN_GetZDomain(ref double, ref double)
Get the Z domain extent.
virtual void ISpatialReference2GEN_GetZDomain(ref double outZMin, ref double outZMax)
Parameters
ISpatialReference2GEN_GetZFalseOriginAndUnits(ref double, ref double)
Get the Z false origin and units.
virtual void ISpatialReference2GEN_GetZFalseOriginAndUnits(ref double falseZ, ref double zUnits)
Parameters
ISpatialReference2GEN_HasMPrecision()
Returns true when m-value precision information has been defined.
virtual bool ISpatialReference2GEN_HasMPrecision()
Returns
ISpatialReference2GEN_HasXYPrecision()
Returns true when (x,y) precision information has been defined.
virtual bool ISpatialReference2GEN_HasXYPrecision()
Returns
ISpatialReference2GEN_HasZPrecision()
Returns true when z-value precision information has been defined.
virtual bool ISpatialReference2GEN_HasZPrecision()
Returns
ISpatialReference2GEN_IsPrecisionEqual(ISpatialReference, ref bool)
Returns TRUE when the precision information for the two spatial references is the same.
virtual void ISpatialReference2GEN_IsPrecisionEqual(ISpatialReference otherSR, ref bool IsPrecisionEqual)
Parameters
otherSRISpatialReferenceIsPrecisionEqualbool
ISpatialReference2GEN_Name
The name of this spatial reference component.
virtual string ISpatialReference2GEN_Name { get; }
Returns
ISpatialReference2GEN_PrecisionExImpl
An opaque reference to the precision information (including z/m awareness) implementation for this spatial reference.
virtual long ISpatialReference2GEN_PrecisionExImpl { get; }
Returns
ISpatialReference2GEN_PrecisionImpl
An opaque reference to the precision information implementation for this spatial reference.
virtual long ISpatialReference2GEN_PrecisionImpl { get; }
Returns
ISpatialReference2GEN_Remarks
The comment string of this spatial reference component.
virtual string ISpatialReference2GEN_Remarks { get; }
Returns
ISpatialReference2GEN_SetDomain(double, double, double, double)
Set the xy domain extent.
virtual void ISpatialReference2GEN_SetDomain(double XMin, double XMax, double YMin, double YMax)
Parameters
ISpatialReference2GEN_SetFalseOriginAndUnits(double, double, double)
Set the false origin and units.
virtual void ISpatialReference2GEN_SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
Parameters
ISpatialReference2GEN_SetMDomain(double, double)
Set the measure domain extent.
virtual void ISpatialReference2GEN_SetMDomain(double inMMin, double inMMax)
Parameters
ISpatialReference2GEN_SetMFalseOriginAndUnits(double, double)
Set the measure false origin and units.
virtual void ISpatialReference2GEN_SetMFalseOriginAndUnits(double falseM, double mUnits)
Parameters
ISpatialReference2GEN_SetZDomain(double, double)
Set the z domain extent.
virtual void ISpatialReference2GEN_SetZDomain(double inZMin, double inZMax)
Parameters
ISpatialReference2GEN_SetZFalseOriginAndUnits(double, double)
Set the Z false origin and units.
virtual void ISpatialReference2GEN_SetZFalseOriginAndUnits(double falseZ, double zUnits)
Parameters
ISpatialReference2GEN_SpatialReferenceImpl
SpatialReferenceImpl.
virtual long ISpatialReference2GEN_SpatialReferenceImpl { get; }
Returns
ISpatialReference2GEN_ZCoordinateUnit
The unit for the Z coordinate.
virtual ILinearUnit ISpatialReference2GEN_ZCoordinateUnit { get; set; }
Returns
ISpatialReference2_Abbreviation
virtual string ISpatialReference2_Abbreviation { get; }
Returns
ISpatialReference2_Alias
virtual string ISpatialReference2_Alias { get; }
Returns
ISpatialReference2_Changed()
virtual void ISpatialReference2_Changed()
ISpatialReference2_FactoryCode
virtual int ISpatialReference2_FactoryCode { get; }
Returns
ISpatialReference2_GetDomain(out double, out double, out double, out double)
virtual void ISpatialReference2_GetDomain(out double XMin, out double XMax, out double YMin, out double YMax)
Parameters
ISpatialReference2_GetFalseOriginAndUnits(out double, out double, out double)
virtual void ISpatialReference2_GetFalseOriginAndUnits(out double falseX, out double falseY, out double xyUnits)
Parameters
ISpatialReference2_GetMDomain(out double, out double)
virtual void ISpatialReference2_GetMDomain(out double outMMin, out double outMMax)
Parameters
ISpatialReference2_GetMFalseOriginAndUnits(out double, out double)
virtual void ISpatialReference2_GetMFalseOriginAndUnits(out double falseM, out double mUnits)
Parameters
ISpatialReference2_GetZDomain(out double, out double)
virtual void ISpatialReference2_GetZDomain(out double outZMin, out double outZMax)
Parameters
ISpatialReference2_GetZFalseOriginAndUnits(out double, out double)
virtual void ISpatialReference2_GetZFalseOriginAndUnits(out double falseZ, out double zUnits)
Parameters
ISpatialReference2_HasMPrecision()
virtual bool ISpatialReference2_HasMPrecision()
Returns
ISpatialReference2_HasXYPrecision()
virtual bool ISpatialReference2_HasXYPrecision()
Returns
ISpatialReference2_HasZPrecision()
virtual bool ISpatialReference2_HasZPrecision()
Returns
ISpatialReference2_IsMPrecisionEqual(ISpatialReference)
Returns true if the measure precisions of the two spatial references are the same.
virtual bool ISpatialReference2_IsMPrecisionEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
Remarks
The IClone::IsEqual method for PCSs and GCSs compares only the projection information (projection, spheroid, projected units, etc.). It does not compare any properties related to the coordinate grid definition for the spatial references.
Use the ISpatialReference2.IsXY/Z/MPrecisionEqual methods to compare coordinate grid information.
Use the ISpatialReferenceTolerance.IsXY/Z/MToleranceEqual methods to compare the various cluster tolerances for the spatial references.
ISpatialReference2_IsPrecisionEqual(ISpatialReference, out bool)
virtual void ISpatialReference2_IsPrecisionEqual(ISpatialReference otherSR, out bool IsPrecisionEqual)
Parameters
otherSRISpatialReferenceIsPrecisionEqualbool
ISpatialReference2_IsXYPrecisionEqual(ISpatialReference)
Returns true if the XY precisions of the two spatial references are the same.
virtual bool ISpatialReference2_IsXYPrecisionEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
Remarks
The IClone::IsEqual method for PCSs and GCSs compares only the projection information (projection, spheroid, projected units, etc.). It does not compare any properties related to the coordinate grid definition for the spatial references.
Use the ISpatialReference2.IsXY/Z/MPrecisionEqual methods to compare coordinate grid information.
Use the ISpatialReferenceTolerance.IsXY/Z/MToleranceEqual methods to compare the various cluster tolerances for the spatial references.
ISpatialReference2_IsZPrecisionEqual(ISpatialReference)
Returns true if the Z precisions of the two spatial references are the same.
virtual bool ISpatialReference2_IsZPrecisionEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
Remarks
The IClone::IsEqual method for PCSs and GCSs compares only the projection information (projection, spheroid, projected units, etc.). It does not compare any properties related to the coordinate grid definition for the spatial references.
Use the ISpatialReference2.IsXY/Z/MPrecisionEqual methods to compare coordinate grid information.
Use the ISpatialReferenceTolerance.IsXY/Z/MToleranceEqual methods to compare the various cluster tolerances for the spatial references.
ISpatialReference2_Name
virtual string ISpatialReference2_Name { get; }
Returns
ISpatialReference2_PrecisionExImpl
virtual long ISpatialReference2_PrecisionExImpl { get; }
Returns
ISpatialReference2_PrecisionImpl
virtual long ISpatialReference2_PrecisionImpl { get; }
Returns
ISpatialReference2_Remarks
virtual string ISpatialReference2_Remarks { get; }
Returns
ISpatialReference2_SetDomain(double, double, double, double)
virtual void ISpatialReference2_SetDomain(double XMin, double XMax, double YMin, double YMax)
Parameters
ISpatialReference2_SetFalseOriginAndUnits(double, double, double)
virtual void ISpatialReference2_SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
Parameters
ISpatialReference2_SetMDomain(double, double)
virtual void ISpatialReference2_SetMDomain(double inMMin, double inMMax)
Parameters
ISpatialReference2_SetMFalseOriginAndUnits(double, double)
virtual void ISpatialReference2_SetMFalseOriginAndUnits(double falseM, double mUnits)
Parameters
ISpatialReference2_SetZDomain(double, double)
virtual void ISpatialReference2_SetZDomain(double inZMin, double inZMax)
Parameters
ISpatialReference2_SetZFalseOriginAndUnits(double, double)
virtual void ISpatialReference2_SetZFalseOriginAndUnits(double falseZ, double zUnits)
Parameters
ISpatialReference2_SpatialReferenceImpl
virtual long ISpatialReference2_SpatialReferenceImpl { get; }
Returns
ISpatialReference2_ZCoordinateUnit
virtual ILinearUnit ISpatialReference2_ZCoordinateUnit { get; set; }
Returns
ISpatialReference3_Abbreviation
virtual string ISpatialReference3_Abbreviation { get; }
Returns
ISpatialReference3_Alias
virtual string ISpatialReference3_Alias { get; }
Returns
ISpatialReference3_ApplyPrecision(int, ref WKSPoint, ref double, ref double)
virtual void ISpatialReference3_ApplyPrecision(int cPoints, ref WKSPoint Points, ref double ms, ref double zs)
Parameters
ISpatialReference3_ApplyXYPrecision(int, ref WKSPoint)
virtual void ISpatialReference3_ApplyXYPrecision(int cPoints, ref WKSPoint Points)
Parameters
ISpatialReference3_Changed()
virtual void ISpatialReference3_Changed()
ISpatialReference3_FactoryCode
virtual int ISpatialReference3_FactoryCode { get; }
Returns
ISpatialReference3_GetDomain(out double, out double, out double, out double)
virtual void ISpatialReference3_GetDomain(out double XMin, out double XMax, out double YMin, out double YMax)
Parameters
ISpatialReference3_GetFalseOriginAndUnits(out double, out double, out double)
virtual void ISpatialReference3_GetFalseOriginAndUnits(out double falseX, out double falseY, out double xyUnits)
Parameters
ISpatialReference3_GetMDomain(out double, out double)
virtual void ISpatialReference3_GetMDomain(out double outMMin, out double outMMax)
Parameters
ISpatialReference3_GetMFalseOriginAndUnits(out double, out double)
virtual void ISpatialReference3_GetMFalseOriginAndUnits(out double falseM, out double mUnits)
Parameters
ISpatialReference3_GetZDomain(out double, out double)
virtual void ISpatialReference3_GetZDomain(out double outZMin, out double outZMax)
Parameters
ISpatialReference3_GetZFalseOriginAndUnits(out double, out double)
virtual void ISpatialReference3_GetZFalseOriginAndUnits(out double falseZ, out double zUnits)
Parameters
ISpatialReference3_HasMPrecision()
virtual bool ISpatialReference3_HasMPrecision()
Returns
ISpatialReference3_HasXYPrecision()
virtual bool ISpatialReference3_HasXYPrecision()
Returns
ISpatialReference3_HasZPrecision()
virtual bool ISpatialReference3_HasZPrecision()
Returns
ISpatialReference3_IsMPrecisionEqual(ISpatialReference)
virtual bool ISpatialReference3_IsMPrecisionEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
ISpatialReference3_IsPrecisionEqual(ISpatialReference, out bool)
virtual void ISpatialReference3_IsPrecisionEqual(ISpatialReference otherSR, out bool IsPrecisionEqual)
Parameters
otherSRISpatialReferenceIsPrecisionEqualbool
ISpatialReference3_IsXYPrecisionEqual(ISpatialReference)
virtual bool ISpatialReference3_IsXYPrecisionEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
ISpatialReference3_IsZPrecisionEqual(ISpatialReference)
virtual bool ISpatialReference3_IsZPrecisionEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
ISpatialReference3_Name
virtual string ISpatialReference3_Name { get; }
Returns
ISpatialReference3_PrecisionExImpl
virtual long ISpatialReference3_PrecisionExImpl { get; }
Returns
ISpatialReference3_PrecisionImpl
virtual long ISpatialReference3_PrecisionImpl { get; }
Returns
ISpatialReference3_Remarks
virtual string ISpatialReference3_Remarks { get; }
Returns
ISpatialReference3_SetDomain(double, double, double, double)
virtual void ISpatialReference3_SetDomain(double XMin, double XMax, double YMin, double YMax)
Parameters
ISpatialReference3_SetFalseOriginAndUnits(double, double, double)
virtual void ISpatialReference3_SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
Parameters
ISpatialReference3_SetMDomain(double, double)
virtual void ISpatialReference3_SetMDomain(double inMMin, double inMMax)
Parameters
ISpatialReference3_SetMFalseOriginAndUnits(double, double)
virtual void ISpatialReference3_SetMFalseOriginAndUnits(double falseM, double mUnits)
Parameters
ISpatialReference3_SetZDomain(double, double)
virtual void ISpatialReference3_SetZDomain(double inZMin, double inZMax)
Parameters
ISpatialReference3_SetZFalseOriginAndUnits(double, double)
virtual void ISpatialReference3_SetZFalseOriginAndUnits(double falseZ, double zUnits)
Parameters
ISpatialReference3_SpatialReferenceImpl
virtual long ISpatialReference3_SpatialReferenceImpl { get; }
Returns
ISpatialReference3_ZCoordinateUnit
virtual ILinearUnit ISpatialReference3_ZCoordinateUnit { get; set; }
Returns
ISpatialReferenceInfo_Abbreviation
The abbreviated name of this spatial reference component.
virtual string ISpatialReferenceInfo_Abbreviation { get; }
Returns
ISpatialReferenceInfo_Alias
The alias of this spatial reference component.
virtual string ISpatialReferenceInfo_Alias { get; }
Returns
ISpatialReferenceInfo_FactoryCode
The factory code (WKID) of the spatial reference.
virtual int ISpatialReferenceInfo_FactoryCode { get; }
Returns
Remarks
The factory code is an integer identifier that is unique by projection engine object type, such as a projected coordinate system. You can use a factory code in the ISpatialReferenceFactory::CreateProjectedCoordinateSystem method for example. If you create a custom projected coordinate system, the factory code is zero.
ISpatialReferenceInfo_Name
The name of this spatial reference component.
virtual string ISpatialReferenceInfo_Name { get; }
Returns
ISpatialReferenceInfo_Remarks
The comment string of this spatial reference component.
virtual string ISpatialReferenceInfo_Remarks { get; }
Returns
ISpatialReference_Abbreviation
virtual string ISpatialReference_Abbreviation { get; }
Returns
ISpatialReference_Alias
virtual string ISpatialReference_Alias { get; }
Returns
ISpatialReference_Changed()
Notify this object that some of its parts have changed (parameter values, z unit, etc.).
virtual void ISpatialReference_Changed()
ISpatialReference_FactoryCode
virtual int ISpatialReference_FactoryCode { get; }
Returns
ISpatialReference_GetDomain(out double, out double, out double, out double)
The XY domain extent.
virtual void ISpatialReference_GetDomain(out double XMin, out double XMax, out double YMin, out double YMax)
Parameters
Remarks
The GetDomain and SetDomain methods are used to set and get the square domain extent of a coordinate system. The domain extent is different than the valid area of a coordinate system. The domain extent is an arbitrary square used to delimit valid coordinates for a spatial reference system and determine their resolution. It is possible that the domain extent is larger than the usable area of a coordinate system (a UTM zone, for example). A small domain extent gives you finer resolution coordinates over a smaller area. A larger domain extent lets you represent features over a larger geographic area but with coarser resolution.
//This code example shows how to get the xy domain extent of a dataset.
private void GetSpatialReferenceProperties(IFeatureClass featureClass)
{
IGeoDataset geoDataset = featureClass as IGeoDataset;
//get access to SpatialReference through IGeoDataset
ISpatialReference spatialReference = geoDataset.SpatialReference;
//get the xy domain extent of the dataset
double xMin;
double xMax;
double yMin;
double yMax;
spatialReference.GetDomain(out xMin, out xMax, out yMin, out yMax);
System.Windows.Forms.MessageBox.Show(xMin + ", " + xMax + ", " + yMin + ", " + yMax);
}
'This code example shows how to get the xy domain extent of a dataset.
'This example assumes that a valid workspace object has already been established.
Sub GetDomain_Example(ByVal pWorkspace As IWorkspace)
Dim pFeatWS As IFeatureWorkspace
pFeatWS = pWorkspace
Dim pFeatDS As IFeatureDataset
pFeatDS = pFeatWS.OpenFeatureDataset("railroad")
Dim pGeoDataset As IGeoDataset
pGeoDataset = pFeatDS
'get access to SpatialReference through IGeoDataset
Dim pSpatRef As ISpatialReference
pSpatRef = pGeoDataset.SpatialReference
Dim dXmax As Double
Dim dYmax As Double
Dim dXmin As Double
Dim dYmin As Double
'get the xy domain extent of the dataset
pSpatRef.GetDomain(dXmin, dXmax, dYmin, dYmax)
Debug.Print(dXmin & ", ", dXmax & ", " & dYmin, ", " & dYmax)
End Sub
ISpatialReference_GetFalseOriginAndUnits(out double, out double, out double)
Get the false origin and units.
virtual void ISpatialReference_GetFalseOriginAndUnits(out double falseX, out double falseY, out double xyUnits)
Parameters
Remarks
Use this function to retrieve the following information about the spatial reference of the geometry:
falseX: XMin of the domain.
falseY: YMin of the domain.
XYUnits: Precision of the domain.
//This code example shows how to get the false origin and units
of a dataset
private void GetFalseOriginAndUnits(IFeatureClass featureClass)
{
IGeoDataset geoDataset = featureClass as
IGeoDataset;
//get access to SpatialReference through
IGeoDataset
ISpatialReference spatialReference =
geoDataset.SpatialReference;
//get the false origin and units of the
dataset
double falseX;
double falseY;
double xyUnits;
spatialReference.GetFalseOriginAndUnits(out
falseX, out falseY, out xyUnits);
System.Windows.Forms.MessageBox.Show(falseX + ",
" + falseY + ", " + xyUnits);
}
'This code example shows how to get the false
origin and units of a dataset.
'This example assumes that a valid workspace
object has already 'been established.
Sub GetFalseOriginAndUnits_Example(ByVal
pWorkspace As IWorkspace)
Dim pFeatWS As
IFeatureWorkspace
pFeatWS = pWorkspace
Dim pFeatDS As
IFeatureDataset
pFeatDS =
pFeatWS.OpenFeatureDataset("railroad")
Dim pGeoDataset As
IGeoDataset
pGeoDataset =
pFeatDS
'get access to
SpatialReference through IGeoDataset
Dim pSpatRef As
ISpatialReference
pSpatRef =
pGeoDataset.SpatialReference
'declare variables
that will be used to store the
'false origin and units
of the dataset
Dim dFalseX As
Double
Dim dFalseY As
Double
Dim dXYUnits As
Double
'get the false origin
and units of the dataset
pSpatRef.GetFalseOriginAndUnits(dFalseX, dFalseY, dXYUnits)
Debug.Print(dFalseX
& ", " & dFalseY & ", " & dXYUnits)
End Sub
ISpatialReference_GetMDomain(out double, out double)
The measure domain extent.
virtual void ISpatialReference_GetMDomain(out double outMMin, out double outMMax)
Parameters
ISpatialReference_GetMFalseOriginAndUnits(out double, out double)
Get the measure false origin and units.
virtual void ISpatialReference_GetMFalseOriginAndUnits(out double falseM, out double mUnits)
Parameters
ISpatialReference_GetZDomain(out double, out double)
The Z domain extent.
virtual void ISpatialReference_GetZDomain(out double outZMin, out double outZMax)
Parameters
ISpatialReference_GetZFalseOriginAndUnits(out double, out double)
Get the Z false origin and units.
virtual void ISpatialReference_GetZFalseOriginAndUnits(out double falseZ, out double zUnits)
Parameters
ISpatialReference_HasMPrecision()
Returns true when m-value precision information has been defined.
virtual bool ISpatialReference_HasMPrecision()
Returns
ISpatialReference_HasXYPrecision()
Returns true when (x,y) precision information has been defined.
virtual bool ISpatialReference_HasXYPrecision()
Returns
ISpatialReference_HasZPrecision()
Returns true when z-value precision information has been defined.
virtual bool ISpatialReference_HasZPrecision()
Returns
ISpatialReference_IsPrecisionEqual(ISpatialReference, out bool)
Returns TRUE when the precision information for the two spatial references is the same.
virtual void ISpatialReference_IsPrecisionEqual(ISpatialReference otherSR, out bool IsPrecisionEqual)
Parameters
otherSRISpatialReferenceIsPrecisionEqualbool
Remarks
The IClone::IsEqual method implementation for spatial references only compares the coordinate system (projection information) portion of the spatial reference. If, in addition, you need to verify that the coordinate grid portions of the spatial references are equal, apply this method after IsEqual. The XY, Z, or M domain and resolution (precision) values, as well as the XY, Z and M cluster tolerances are compared.
ISpatialReference_Name
virtual string ISpatialReference_Name { get; }
Returns
ISpatialReference_PrecisionExImpl
An opaque reference to the precision information (including z/m awareness) implementation for this spatial reference.
virtual long ISpatialReference_PrecisionExImpl { get; }
Returns
Remarks
This property is for internal use only.
ISpatialReference_PrecisionImpl
An opaque reference to the precision information implementation for this spatial reference.
virtual long ISpatialReference_PrecisionImpl { get; }
Returns
Remarks
This property is for internal use only.
ISpatialReference_Remarks
virtual string ISpatialReference_Remarks { get; }
Returns
ISpatialReference_SetDomain(double, double, double, double)
The XY domain extent.
virtual void ISpatialReference_SetDomain(double XMin, double XMax, double YMin, double YMax)
Parameters
Remarks
The xy domain must be square. If you set a wider X or Y extent, it will take precedence. For example, let's say you set these values:
XMin = -180
XMax = 180
YMin = -90
YMax = 90
If you then query the values with GetDomain, you will see that the YMax value is 270. That is because the X extent is 360, so the Y extent must also be 360. The minimum x and y values are always maintained.
When creating a new spatial reference with a projected or geographic coordinate system, the recommended method for defining the XY Domain is ISpatialReferenceResolution::ConstructFromHorizon, followed by ISpatialReferenceResolution::SetDefaultXYResolution and ISpatialReferenceTolerance::SetDefaultXYTolerance. These methods produce a valid domain that covers the valid coordinate range for the coordinate system and reasonable resolution and tolerance values. The default XY tolerance value is 1 mm or its equivalent based on the coordinate system's unit of measure. The default XY resolution value is 0.1 mm or its equivalent. Tolerance values must be at least two times as large as the resolution value.
private void SetSpatialReferenceProperties(IFeatureClass featureClass)
{
IGeoDataset geoDataset = featureClass as IGeoDataset;
//get access to SpatialReference through IGeoDataset
ISpatialReference spatialReference = geoDataset.SpatialReference;
//set the xy domain extent for the dataset
spatialReference.SetDomain(10000, 90000, 10000, 90000);
}
ISpatialReference_SetFalseOriginAndUnits(double, double, double)
Set the false origin and units.
virtual void ISpatialReference_SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
Parameters
Remarks
When creating a new spatial reference with a projected or geographic coordinate system, the recommended method for defining the XY Domain is ISpatialReferenceResolution::ConstructFromHorizon.
private void SetSpatialReferenceProperties(IFeatureClass featureClass)
{
IGeoDataset geoDataset = featureClass as IGeoDataset;
//get access to SpatialReference through IGeoDataset
ISpatialReference spatialReference = geoDataset.SpatialReference;
//set the false origin and units for the coverage where the
//falseX, falseY, and xyUnits numeric expressions are double
spatialReference.SetFalseOriginAndUnits(475006.096654, 3759312.190404, 124999.999883);
}
ISpatialReference_SetMDomain(double, double)
The measure domain extent.
virtual void ISpatialReference_SetMDomain(double inMMin, double inMMax)
Parameters
ISpatialReference_SetMFalseOriginAndUnits(double, double)
Set the measure false origin and units.
virtual void ISpatialReference_SetMFalseOriginAndUnits(double falseM, double mUnits)
Parameters
ISpatialReference_SetZDomain(double, double)
The Z domain extent.
virtual void ISpatialReference_SetZDomain(double inZMin, double inZMax)
Parameters
ISpatialReference_SetZFalseOriginAndUnits(double, double)
Set the Z false origin and units.
virtual void ISpatialReference_SetZFalseOriginAndUnits(double falseZ, double zUnits)
Parameters
ISpatialReference_SpatialReferenceImpl
SpatialReferenceImpl.
virtual long ISpatialReference_SpatialReferenceImpl { get; }
Returns
Remarks
This property is for internal use only.
ISpatialReference_ZCoordinateUnit
The unit for the Z coordinate.
virtual ILinearUnit ISpatialReference_ZCoordinateUnit { get; set; }
Returns
ImportFromESRISpatialReference(string, out int)
Defines this spatial reference component from the specified ESRISpatialReference buffer.
virtual void ImportFromESRISpatialReference(string str, out int cBytesRead)
Parameters
ImportSpatialReferenceFromPRJ(string, out int)
Defines the spatial reference from the specified ESRISpatialReference buffer.
virtual void ImportSpatialReferenceFromPRJ(string str, out int cBytesRead)
Parameters
InterfaceSupportsErrorInfo(ref Guid)
virtual void InterfaceSupportsErrorInfo(ref Guid riid)
Parameters
riidGuid
Inverse(ref WKSPoint[])
Projects points from planar to geographic coordinates.
virtual void Inverse(ref WKSPoint[] Points)
Parameters
PointsWKSPoint[]
Inverse(int, ref WKSPoint)
Projects points from planar to geographic coordinates.
virtual void Inverse(int Count, ref WKSPoint Points)
Parameters
InverseWithShift(double, ref WKSPoint[])
Projects points from planar to geographic coordinates. Deals with geographic coordinates in ranges other than +-180.
virtual void InverseWithShift(double shift, ref WKSPoint[] Points)
Parameters
InverseWithShift(double, int, ref WKSPoint)
Projects points from planar to geographic coordinates. Deals with geographic coordinates in ranges other than +-180.
virtual void InverseWithShift(double shift, int Count, ref WKSPoint Points)
Parameters
IsCentralLongitudeVertical()
Returns true if central meridian is a straight vertical line.
virtual bool IsCentralLongitudeVertical()
Returns
IsDirty()
virtual void IsDirty()
IsEqual(IClone)
Indicates if the receiver and other have the same properties.
virtual bool IsEqual(IClone other)
Parameters
otherIClone
Returns
IsEqualLeftLongitude(ISpatialReference, bool)
For geographic coordinate systems, this version of IsEqual includes considers their left longitude properties. Same as IsEqual for projected coordinate systems.
virtual bool IsEqualLeftLongitude(ISpatialReference other, bool compareVCS)
Parameters
otherISpatialReferencecompareVCSbool
Returns
IsEqualNoNames(IProjectedCoordinateSystem)
Compares two projected coordinate systems for equality but ignores their names.
virtual bool IsEqualNoNames(IProjectedCoordinateSystem pOther)
Parameters
pOtherIProjectedCoordinateSystem
Returns
IsEqualNoVCS(ISpatialReference)
Compares spatial references without considering any vertical coordinate system that may be associated with the spatial reference.
virtual bool IsEqualNoVCS(ISpatialReference other)
Parameters
otherISpatialReference
Returns
IsHighPrecision
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.
virtual bool IsHighPrecision { get; set; }
Returns
IsHorizonConvexHull()
Returns true if PCS horizon is convex.
virtual bool IsHorizonConvexHull()
Returns
Remarks
The PCS horizon is the valid area of a projected coordinate system, in the units of the PCS.
IsHorizonEdgeDuplicated()
Returns true if some edges of PCS horizon project inversely to identical lines.
virtual bool IsHorizonEdgeDuplicated()
Returns
Remarks
The PCS horizon is the valid area of a projected coordinate system, in the units of the PCS.
IsHorizonEntireWorld()
Returns true if PCS horizon contains the entire world.
virtual bool IsHorizonEntireWorld()
Returns
Remarks
The PCS horizon is the valid area of a projected coordinate system, in the units of the PCS.
IsIdentical(IClone)
Indicates if the receiver and other are the same object.
virtual bool IsIdentical(IClone other)
Parameters
otherIClone
Returns
IsMPrecisionEqual(ISpatialReference)
Returns true if the measure precisions of the two spatial references are the same.
virtual bool IsMPrecisionEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
IsMToleranceEqual(ISpatialReference)
Returns true if the measure tolerances of the two spatial references are the same.
virtual bool IsMToleranceEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
Remarks
IsMToleranceEqual will return True if both Spatial Reference MTolerances are undefined (NaN) or if they are both defined and numerically equal.
Note that the IClone::IsEqual method on spatial references does not consider coordinate grid or tolerance properties. It only looks at the coordinate system part (i.e. projection information) of the spatial reference.
IsPrecisionEqual(ISpatialReference, ref bool)
Returns TRUE when the precision information for the two spatial references is the same.
virtual void IsPrecisionEqual(ISpatialReference otherSR, ref bool IsPrecisionEqual)
Parameters
otherSRISpatialReferenceIsPrecisionEqualbool
IsXYPrecisionEqual(ISpatialReference)
Returns true if the XY precisions of the two spatial references are the same.
virtual bool IsXYPrecisionEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
IsXYToleranceEqual(ISpatialReference)
Returns true if the XY tolerances of the two spatial references are the same.
virtual bool IsXYToleranceEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
Remarks
IsXYToleranceEqual will return True if both Spatial Reference XYTolerances are undefined (NaN) or if they are both defined and numerically equal.
Note that the IClone::IsEqual method on spatial references does not consider coordinate grid or tolerance properties. It only looks at the coordinate system part (i.e. projection information) part of the spatial reference.
IsZPrecisionEqual(ISpatialReference)
Returns true if the Z precisions of the two spatial references are the same.
virtual bool IsZPrecisionEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
IsZToleranceEqual(ISpatialReference)
Returns true if the Z tolerances of the two spatial references are the same.
virtual bool IsZToleranceEqual(ISpatialReference otherSR)
Parameters
otherSRISpatialReference
Returns
Remarks
IsZToleranceEqual will return True if both Spatial Reference Z Tolerances are undefined (NaN)or if they are both defined and numerically equal.
Note that the IClone::IsEqual method on spatial references does not consider coordinate grid or tolerance properties. It only looks at the coordinate system part (i.e. projection information) part of the spatial reference.
LatitudeOf1st
The latitude of the first point (Phi 1) of a projected coordinate system.
virtual double LatitudeOf1st { get; set; }
Returns
LatitudeOf2nd
The latitude of the second point (Phi 2) of a projected coordinate system.
virtual double LatitudeOf2nd { get; set; }
Returns
LatitudeOfCenter
The latitude of center (Phi C) of a projected coordinate system.
virtual double LatitudeOfCenter { get; set; }
Returns
LatitudeOfOrigin
The latitude of the origin (Phi 0) of a projected coordinate system.
virtual double LatitudeOfOrigin { get; set; }
Returns
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
LoadPrecision(IStream)
Initializes this spatial reference's false x, false y and xy units from information in the specified stream.
virtual void LoadPrecision(IStream pStream)
Parameters
pStreamIStream
LongitudeOf1st
The longitude of the first point (Lambda 1) of a projected coordinate system.
virtual double LongitudeOf1st { get; set; }
Returns
LongitudeOf2nd
The longitude of the second point (Lambda 2) of a projected coordinate system.
virtual double LongitudeOf2nd { get; set; }
Returns
LongitudeOfCenter
The longitude of center (Lam C) of a projected coordinate system.
virtual double LongitudeOfCenter { get; set; }
Returns
LongitudeOfOrigin
The longitude of origin (Lambda0) of a projected coordinate system.
virtual double LongitudeOfOrigin { get; set; }
Returns
MResolution
The M, or measure, resolution of this spatial reference.
virtual double MResolution { get; set; }
Returns
Remarks
MResolution resizes the existing grid about its center to accommodate the new resolution specified. This property provides finer control for specifying the resolution than does ISpatialReferenceResolution::SetDefaultMResolution. The default MResolution is defined as 0.001 units for high and low precision spatial references.
The default value for MResolution is NaN for a new spatial reference. If the MResolution is not well-defined (MResolution is NaN), calls to ISpatialReference::SetMDomain or ISpatialReference::SetMFalseOriginAndUnits will set the MResolution to the minimum allowable value (2.0/mUnits). If the MResolution was already defined, these methods will not alter the MResolution.
MTolerance
The tolerance used to determine equality of M values.
virtual double MTolerance { get; set; }
Returns
Remarks
The MTolerance method establishes or retrieves the value for the MTolerance of the spatial reference. Setting the MTolerance using this property provides finer control than SetDefaultMTolerance or SetMinimumMTolerance.
The minimum allowable MTolerance is 2.0 * MResolution. To ensure that the MTolerance specified is valid, use MToleranceValid after setting the MTolerance using this property.
The MTolerance is undefined (NaN) by default.
MToleranceValid
Returns true if the M tolerance is well defined (not NaN) and >= the minimum M tolerance.
virtual esriSRToleranceEnum MToleranceValid { get; }
Returns
Remarks
The MToleranceValid property determines if the current M tolerance associated with the spatial reference is valid. A M Tolerance is considered valid when it is well-defined (not NaN) and the M tolerance is greater than or equal to the minimum M tolerance. The minimum allowable MTolerance is 2.0 * MResolution.
To ensure that the MTolerance specified is valid, call MToleranceValid after calling ISpatialReferenceTolerance::MTolerance.
Name
The name of this spatial reference component.
virtual string Name { get; }
Returns
PRJSpatialReferenceSize
The number of bytes required to hold the persistant representation of the spatial reference.
virtual int PRJSpatialReferenceSize { get; }
Returns
PrecisionExImpl
An opaque reference to the precision information (including z/m awareness) implementation for this spatial reference.
virtual long PrecisionExImpl { get; }
Returns
PrecisionImpl
An opaque reference to the precision information implementation for this spatial reference.
virtual long PrecisionImpl { get; }
Returns
Projection
The map projection of a projected coordinate system.
virtual IProjection Projection { get; }
Returns
Remarks
<P>A Projection object encapsulates the mathematics needed to convert geographic coordinates between two different coordinate systems. A projection is a component of a projected coordinate system and is not usually used directly. Rather, a projected cooordinate system is defined and used to project cooordinates.</P>
ProjectionHint(IGeometry, ISpatialReference, ref esriTransformDirection, ref ITransformation, ref int)
Projection hint for speeding up projections.
virtual void ProjectionHint(IGeometry Geometry, ISpatialReference targetSR, ref esriTransformDirection Direction, ref ITransformation pXForm, ref int ProjectionHint)
Parameters
GeometryIGeometrytargetSRISpatialReferenceDirectionesriTransformDirectionpXFormITransformationProjectionHintint
PseudoStandardParallel1
The latitude on an oblique spheroid that defines the oblique cone for a Krovak projected coordinate system.
virtual double PseudoStandardParallel1 { get; set; }
Returns
PutLinearAndAngularUnits(ILinearUnit, IAngularUnit)
Modify linear unit of projected coordinates and angular unit of associated geographic coordinates.
virtual void PutLinearAndAngularUnits(ILinearUnit LinearUnit, IAngularUnit AngularUnit)
Parameters
LinearUnitILinearUnitAngularUnitIAngularUnit
Remarks
The comment string of this spatial reference component.
virtual string Remarks { get; }
Returns
Rotation
The rotation value used to change the axis directions in a Krovak projected coordinate system.
virtual double Rotation { get; set; }
Returns
Save(IStream, int)
virtual void Save(IStream pstm, int fClearDirty)
Parameters
SavePrecision(IStream, int)
Saves this spatial reference's false x, false y and xy units to the specified stream.
virtual void SavePrecision(IStream pStream, int fClearDirty)
Parameters
ScaleFactor
The scale factor (K0) of a projected coordinate system.
virtual double ScaleFactor { get; set; }
Returns
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.
virtual void SetDefaultMResolution()
Remarks
This method behaves analogously to the SetDefaultXYResolution method, but operates on the linear m coordinate grid. For a high-precision spatial reference the default MResolution is 0.0001 units; for a low-precision spatial reference the default MResolution is 0.001 units.
SetDefaultMTolerance()
Sets the default tolerance used to determine equality of M values (2.0 * m resolution).
virtual void SetDefaultMTolerance()
Remarks
The SetDefaultMTolerance method establishes the default value for the M tolerance. The default value is 0.001 units.
The minimum allowable MTolerance is 2.0 * MResolution.
If the value specified by SetDefaultMTolerance is not greater than or equal to 2.0 * MResolution, the MTolerance will be set at 2.0 * MResolution.
The following code snippet illustrates the required steps to set the default M tolerance for a new SpatialReference.
ISpatialReferenceFactory3 spatialReferenceFactory =
new SpatialReferenceEnvironmentClass() as ISpatialReferenceFactory3;
ISpatialReference spatialRef = spatialReferenceFactory.CreateSpatialReference(23033);
if (spatialRef == null)
return;
ISpatialReferenceResolution spatialRefResolution = spatialRef as ISpatialReferenceResolution;
// Set the domain extent to a default range based on the target resolution
spatialRefResolution.SetDefaultMResolution();
ISpatialReferenceTolerance spatialRefTolerance = spatialRefResolution as ISpatialReferenceTolerance;
spatialRefTolerance.SetDefaultMTolerance();
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).
virtual void SetDefaultXYResolution()
Remarks
SetDefaultXYResolution recalculates the maximum x and y coordinates for the domain of the spatial reference in order to achieve a target resolution of 1 millimeter for low precision ProjectedCoordinateSystems or 1/10 millimeter for high precision. For high precision GeographicCoordinateSystems, the target resolution is 1/10,000 of an arc-second and the low precision target resolution is 1/500 of an arc-second. For UnknownCoordinateSystems, the high precision target resolution is 1/10 millimeter and the low precision target resolution is 1 millimeter. Resolutions are listed here in metric units but are converted to the units of the spatial reference by these methods.
Use the ISpatialReferenceResolution::XYResolution(False) property to specify the target resolution in units defined by the spatial reference.
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).
virtual void SetDefaultXYTolerance()
Remarks
SetDefaultXYTolerance establishes the default value for the XY tolerance, taking into account the current units of the spatial reference. Any established tolerance will not be changed automatically if the units of the spatial reference are changed. For a ProjectedCoordinateSystem or an UnknownCoordinateSystem, the default tolerance is 1 mm (expressed in the units of the spatial reference) or 2.0 * XYResolution, whichever is larger. For a GeographicCoordinateSystem, it is the angle subtending 1 mm at the equator, or 2.0 * XYResolution, whichever is larger.
The minimum allowable XYTolerance is 2.0 * XYResolution.
If the value specified by SetDefaultXYTolerance is not greater than or equal to 2.0 * XYResolution, the XYTolerance will be set at 2.0 * XYResolution.
A file-based data source, such as shapefiles, CAD and SDC, that has an UnknownCoordinateSystem and that has an X coordinate data extent that falls between +/-400, will use a tolerance in degrees corresponding to 1mm along the equator (8.98315284119522E-09 degrees).
public void SetDefaultXYToleranceExample()
{
//The following code example creates a new projected coordinate system,
//defines the domainextent and default resolution, and sets the default XYTolerance.
// use activator class with SpatialReferenceEnvironment singleton
Type factoryType = Type.GetTypeFromProgID("esriGeometry.SpatialReferenceEnvironment");
System.Object obj = Activator.CreateInstance(factoryType);
ISpatialReferenceFactory3 spatialReferenceFactory = obj as ISpatialReferenceFactory3;
ISpatialReference spatialRef = spatialReferenceFactory.CreateSpatialReference(32610);
ISpatialReference projectedCoordinateSystem = spatialReferenceFactory.CreateProjectedCoordinateSystem(32610);
IControlPrecision2 controlPrecision = projectedCoordinateSystem as IControlPrecision2;
controlPrecision.IsHighPrecision = true;
ISpatialReferenceResolution spatialReferenceResolution = projectedCoordinateSystem as ISpatialReferenceResolution;
spatialReferenceResolution.ConstructFromHorizon();
ISpatialReferenceTolerance spatialReferenceTolerance = projectedCoordinateSystem as ISpatialReferenceTolerance;
spatialReferenceTolerance.SetDefaultXYTolerance();
}
'The following code example creates a new projected coordinate system,
'defines the domain extent and default resolution, and sets the default XYTolerance.
Dim pSpatialReferenceFactory As ISpatialReferenceFactory3
pSpatialReferenceFactory = New SpatialReferenceEnvironment
Dim pSpatialReference As ISpatialReference
pSpatialReference = pSpatialReferenceFactory.CreateProjectedCoordinateSystem(32610)
Dim pControlPrecision As IControlPrecision2
pControlPrecision = pSpatialReference
pControlPrecision.IsHighPrecision = True
Dim pSRRes As ISpatialReferenceResolution
pSRRes = pSpatialReference
pSRRes.ConstructFromHorizon()
Dim pSRTolerance As ISpatialReferenceTolerance
pSRTolerance = pSpatialReference
pSRTolerance.SetDefaultXYTolerance()
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.
virtual void SetDefaultZResolution()
Remarks
This method behaves analogously to the SetDefaultXYResolution method, but operates on the linear z coordinate grid. For a high-precision spatial reference the default ZResolution is 0.0001 meters (expressed in the units defined by the VCS if applicable); for a low-precision spatial reference the default ZResolution is 0.001 units.
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).
virtual void SetDefaultZTolerance()
Remarks
The SetDefaultZTolerance method establishes the default value for the ZTolerance. Any established tolerance will not automatically be changed by changing the units of the spatial reference. The default value is 1mm (scaled to whatever units are associated with the spatial reference's vertical coordinate system).
The minimum allowable ZTolerance is 2.0 * ZResolution.
The following code snippet illustrates the required steps to set the default Z tolerance for a new SpatialReference.
ISpatialReferenceFactory3
spatialReferenceFactory =
new
SpatialReferenceEnvironmentClass()
as ISpatialReferenceFactory3;
ISpatialReference
spatialRef =
spatialReferenceFactory.CreateSpatialReference(23033);
if (spatialRef ==
null)
return;
ISpatialReferenceResolution spatialRefResolution = spatialRef as ISpatialReferenceResolution;
// Set the domain
extent to a default range based on the target
resolution
spatialRefResolution.SetDefaultZResolution();
ISpatialReferenceTolerance spatialRefTolerance = spatialRefResolution as ISpatialReferenceTolerance;
spatialRefTolerance.SetDefaultZTolerance();
SetDomain(double, double, double, double)
Set the xy domain extent.
virtual void SetDomain(double XMin, double XMax, double YMin, double YMax)
Parameters
SetFalseOriginAndUnits(double, double, double)
Set the false origin and units.
virtual void SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
Parameters
SetMDomain(double, double)
Set the measure domain extent.
virtual void SetMDomain(double inMMin, double inMMax)
Parameters
SetMFalseOriginAndUnits(double, double)
Set the measure false origin and units.
virtual void SetMFalseOriginAndUnits(double falseM, double mUnits)
Parameters
SetMinimumMTolerance()
Sets the minimum tolerance (i.e., pre 9.2) used to determine equality of M values (2.0 * m resolution).
virtual void SetMinimumMTolerance()
Remarks
The SetMinimumMTolerance method sets the tolerance to the value of the spatial reference's grid resolution (or 2.0 * M resolution). Setting the MTolerance using this method provides a mechanism to maintain backward compatibility with ArcGIS 9.1 geometric and relational operators. At 9.1 and before, this is the only tolerance value used by measure or linear referencing aware operations in the geometry system.
The following code snippet illustrates the required steps to set the minimum M tolerance for a new SpatialReference.
ISpatialReferenceFactory3 spatialReferenceFactory =
new SpatialReferenceEnvironmentClass() as ISpatialReferenceFactory3;
ISpatialReference spatialRef = spatialReferenceFactory.CreateSpatialReference(23033);
if (spatialRef == null)
return;
ISpatialReferenceResolution spatialRefResolution = spatialRef as ISpatialReferenceResolution;
// Set the domain extent to a default range based on the target resolution
spatialRefResolution.SetDefaultMResolution();
ISpatialReferenceTolerance spatialRefTolerance = spatialRefResolution as ISpatialReferenceTolerance;
spatialRefTolerance.SetMinimumMTolerance();
SetMinimumXYTolerance()
Sets the xy cluster tolerance to be 2.0 * resolution. Use this value for compatibility with pre-9.2 topological and relational operators.
virtual void SetMinimumXYTolerance()
Remarks
The SetMinimumXYTolerance method sets the tolerance to the value of the spatial reference's grid resolution (or 2.0 * XYResolution). Setting the XYTolerance using this method provides a mechanism to maintain backward compatibility with ArcGIS 9.1 geometric and relational operators. At version 9.1 and before, this is the only tolerance value used by geometric and relational operators.
private void SetMinimumXYTolerance()
{
// use activator class with SpatialReferenceEnvironment singleton
Type factoryType = Type.GetTypeFromProgID("esriGeometry.SpatialReferenceEnvironment");
System.Object obj = Activator.CreateInstance(factoryType);
ISpatialReferenceFactory3 spatialReferenceFactory = obj as ISpatialReferenceFactory3;
ISpatialReference spatialReference = spatialReferenceFactory.CreateSpatialReference(32610);
if (spatialReference == null)
return;
ISpatialReferenceResolution spatialRefResolution = spatialReference as ISpatialReferenceResolution;
try
{
// 9.3 releases and earlier did not set the domain, resolution or
// Set the domain extent based on the SpatialReference horizon.
spatialRefResolution.ConstructFromHorizon();
spatialRefResolution.SetDefaultXYResolution();
}
catch (Exception ex)
{
throw new NullReferenceException(ex.Message);
}
ISpatialReferenceTolerance spatialRefTolerance =
spatialRefResolution as ISpatialReferenceTolerance;
spatialRefTolerance.SetMinimumXYTolerance();
}
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).
virtual void SetMinimumZTolerance()
Remarks
The SetMinimumZTolerance method sets the ZTolerance to 2.0 * z resolution. Setting the ZTolerance using this method provides a mechanism to maintain backward compatibility with ArcGIS 9.1 geometric and relational operators. At 9.1 and before, this is the only tolerance value used by the geometric and relational operators.
The ZResolution should be defined before calling SetMinimumZTolerance.
The following code snippet illustrates the required steps to set the default Z tolerance for a new SpatialReference.
ISpatialReferenceFactory3 spatialReferenceFactory =
new SpatialReferenceEnvironmentClass() as ISpatialReferenceFactory3;
ISpatialReference spatialRef = spatialReferenceFactory.CreateSpatialReference(23033);
if (spatialRef == null)
return;
ISpatialReferenceResolution spatialRefResolution = spatialRef as ISpatialReferenceResolution;
// Set the domain extent to a default range based on the target resolution
spatialRefResolution.SetDefaultZResolution();
ISpatialReferenceTolerance spatialRefTolerance = spatialRefResolution as ISpatialReferenceTolerance;
spatialRefTolerance.SetMinimumZTolerance();
SetZDomain(double, double)
Set the z domain extent.
virtual void SetZDomain(double inZMin, double inZMax)
Parameters
SetZFalseOriginAndUnits(double, double)
Set the Z false origin and units.
virtual void SetZFalseOriginAndUnits(double falseZ, double zUnits)
Parameters
SpatialReferenceImpl
SpatialReferenceImpl.
virtual long SpatialReferenceImpl { get; }
Returns
StandardParallel1
The first parallel (Phi 1) of a projected coordinate system.
virtual double StandardParallel1 { get; set; }
Returns
StandardParallel2
The second parallel (Phi 2) of a projected coordinate system.
virtual double StandardParallel2 { get; set; }
Returns
Usage
The usage notes of a projected coordinate system.
virtual string Usage { get; }
Returns
UsePrecision
Returns TRUE if the precision information can be used for snapping.
virtual bool UsePrecision { get; set; }
Returns
Version
The version of this spatial reference object.
virtual string Version { get; }
Returns
VerticalCoordinateSystem
The VCS associated with this spatial reference.
virtual IVerticalCoordinateSystem VerticalCoordinateSystem { get; set; }
Returns
XScaleFactor
The X axis scale value used to flip the axis direction in a Krovak projected coordinate system.
virtual double XScaleFactor { get; set; }
Returns
XYResolution[bool]
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.
virtual double XYResolution[bool bStandardUnits] { get; set; }
Parameters
bStandardUnitsbool
Returns
Remarks
XYResolution determines the distinguishable distance between two points in horizontal (XY) space. It is the inverse of the scale factor.
XYResolution can be expressed in standard units or units defined by the spatial reference. For ProjectedCoordinateSystems and UnknownCoordinateSystems the standard unit is expressed in meters; for GeographicCoordinateSystems the standard unit is expressed in degrees.
The default XYResolution for ProjectedCoordinateSystems and UnknownCoordinateSystems is either 1 mm (low-precision spatial reference) or 0.1 mm (high-precision spatial reference). For GeographicCoordinateSystems the default XYResolution is 1/500 arc-second (low-precision spatial reference) or 1/10000 arc-second (high-precision spatial reference). The precision of a spatial reference is determined using IControlPrecision2::IsHighPrecision. At ArcGIS 9.2 all spatial references are created using high precision by default.
Altering this property preserves the current false origin of the spatial reference if it has already been defined. Otherwise, the ConstructFromHorizon method is used to define a false origin.
Use ISpatialReferenceResolution::XYResolution(False) to return or set the XYResolution in the units defined as part of the spatial reference.
The default value for XYResolution is NaN (not-a-number) for a new spatial reference. If the XYResolution has not been set previously, calls to ISpatialReference::SetDomain or ISpatialReference::SetFalseOriginAndUnits will set the XYResolution to the minimum allowable value (2.0/XYunits).
XYTolerance
The xy tolerance used to control point coalescing in the X and Y dimensions.
virtual double XYTolerance { get; set; }
Returns
Remarks
The XYTolerance property is the planar cluster tolerance associated with a spatial reference that will be used by geometric and relational operators. It has the same meaning as the cluster tolerance parameter presented in other parts of ArcGIS, including topology and Geoprocessing. The default value is 1mm (scaled to whatever units are associated with the spatial reference) for ProjectedCoordinateSystems and UnknownCoordinateSystems, and the angle corresponding to 1mm along the equator for geographic coordinate systems.
Setting the XYTolerance using this property provides finer control than SetDefaultXYTolerance or SetMinimumXYTolerance.
The minimum allowable XYTolerance is 2.0 * XYResolution. XYTolerance is undefined (NaN) by after creating a spatial reference. Operations on the spatial reference that define its coordinate grid will set the tolerance to its minimum value if its currently NaN. The tolerance is not modified if the grid resolution changes. To ensure that the XYTolerance specified is valid, use XYToleranceValid.
XYToleranceValid
Returns esriSRToleranceOK if the XY tolerance is well defined (not NaN) and >= the minimum XY tolerance.
virtual esriSRToleranceEnum XYToleranceValid { get; }
Returns
Remarks
The xy grid resolution of a spatial reference can be altered independantly of the XYTolerance. Use this method to ensure that the current XYTolerance is defined and not less than the minimum legal value (2.0 * XYResolution).
YScaleFactor
The Y axis scale value used to flip the axis direction in a Krovak projected coordinate system.
virtual double YScaleFactor { get; set; }
Returns
ZCoordinateUnit
The unit for the Z coordinate.
virtual ILinearUnit ZCoordinateUnit { get; set; }
Returns
ZResolution[bool]
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.
virtual double ZResolution[bool bStandardUnits] { get; set; }
Parameters
bStandardUnitsbool
Returns
Remarks
ZResolution resizes the existing grid about its center to achieve a target resolution of 1mm for low precision spatial references or 1/10 mm for high precision. This property provides finer control for specifying the resolution than does ISpatialReferenceResolution::SetDefaultZResolution. The default ZResolution is defined in standard units as 0.1 mm for high and low precision spatial references, or 1 mm for low precision spatial references. For ProjectedCoordinateSystems and GeographicCoordinateSystems, that default value is scaled to whatever units are associated with the spatial reference's VerticalCoordinateSystem property.
Use ISpatialReferenceResolution::ZResolution(False) to specify or retrieve the Z resolution in units defined by the vertical coordinate system.
The default value for ZResolution is NaN for a new spatial reference. If the ZResolution is not well-defined (ZResolution is NaN), calls to ISpatialReference::SetZDomain or ISpatialReference::SetZFalseOriginAndUnits will set the ZResolution to the minimum allowable value (2.0/zUnits). If the ZResolution was already defined, these methods will not alter the ZResolution.
ZToXYFactor
Conversion factor from Z units to XY units.
virtual double ZToXYFactor { get; }
Returns
ZTolerance
The tolerance used to control point coalescing strictly along the Z axis.
virtual double ZTolerance { get; set; }
Returns
Remarks
The ZTolerance property controls clustering of the z-values of coordinates. It currently is used only in the context of the topology validation operation. It is expressed in the spatial reference's vertical coordinate system units. Setting the ZTolerance using this property provides finer control than SetDefaultZTolerance or SetMinimumZTolerance.
The minimum allowable ZTolerance is 2 * ZResolution (defined by ISpatialReferenceResolution::ZResolution). To ensure that the ZTolerance specified is valid, use ZToleranceValid after setting the ZTolerance using this property.
The ZTolerance is undefined (NaN) by default. Methods that define the z coordinate grid will set the z tolerance to the minimum value if it isn't currently defined
ZToleranceValid
Returns true if the Z tolerance is well defined (not NaN) and >= the minimum Z tolerance.
virtual esriSRToleranceEnum ZToleranceValid { get; }
Returns
Remarks
ZToleranceValid determines if the current ZTolerance associated with the spatial reference is valid. A ZTolerance is considered valid when it is well defined (not NaN) and the Z tolerance is greater than or equal to the minimum ZTolerance. The minimum allowable ZTolerance is 2.0 * ZResolution.
To ensure that the ZTolerance specified is valid, call ZToleranceValid after calling ISpatialReferenceTolerance::ZTolerance.