ArcObjects Library Reference (Geometry)  

ISpatialReferenceTolerance.IsXYToleranceEqual Method

Returns true if the XY tolerances of the two spatial references are the same.

[Visual Basic .NET]
Public Function IsXYToleranceEqual ( _
    ByVal otherSR As ISpatialReference _
) As Boolean
[C#]
public bool IsXYToleranceEqual (
    ISpatialReference otherSR
);
[C++]
HRESULT IsXYToleranceEqual(
  ISpatialReference* otherSR,
  VARIANT_BOOL* IsXYToleranceEqual
);
[C++]

Parameters

otherSR [in]

  otherSR is a parameter of type ISpatialReference

IsXYToleranceEqual [out, retval]   IsXYToleranceEqual is a parameter of type VARIANT_BOOL

Product Availability

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

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.

See Also

ISpatialReferenceTolerance Interface