This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISpatialReference Interface > ISpatialReference.IsPrecisionEqual Method (ArcObjects .NET 10.5 SDK) |
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,
VARIANT_BOOL* IsPrecisionEqual
);
[C++]
Parameters otherSR [in]
otherSR is a parameter of type ISpatialReference IsPrecisionEqual [out] IsPrecisionEqual is a parameter of type VARIANT_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.