This document is archived and information here might be outdated. Recommended version. |
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*
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.