ArcObjects Library Reference (Geometry)  

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,
  VARIANT_BOOL* IsPrecisionEqual
);
[C++]

Parameters

otherSR [in]

  otherSR is a parameter of type ISpatialReference

IsPrecisionEqual [out]   IsPrecisionEqual is a parameter of type VARIANT_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