This document is archived and information here might be outdated.  Recommended version.


ISpatialReference.IsPrecisionEqual Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISpatialReference Interface > ISpatialReference.IsPrecisionEqual Method
ArcGIS Developer Help

ISpatialReference.IsPrecisionEqual Method

Returns TRUE when the precision information for the two spatial references is the same.

[Visual Basic .NET]
Public Sub IsPrecisionEqual ( _
    ByVal otherSR As ISpatialReference, _
    ByRef IsPrecisionEqual As Boolean _
)
[C#]
public void IsPrecisionEqual (
    ISpatialReference otherSR,
    ref bool IsPrecisionEqual
);
[C++]
HRESULT IsPrecisionEqual(
  ISpatialReference* otherSR,
  Boolean* IsPrecisionEqual
);
[C++]
Parameters
otherSR [in]

otherSR is a parameter of type ISpatialReference* IsPrecisionEqual [out]
IsPrecisionEqual is a parameter of type bool*

Product Availability

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

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.

See Also

ISpatialReference Interface