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


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

ISpatialReferenceTolerance.IsMToleranceEqual Method

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

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

otherSR is a parameter of type ISpatialReference*

Product Availability

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

Remarks

IsMToleranceEqual will return True if both Spatial Reference MTolerances 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) of the spatial reference.

See Also

ISpatialReferenceTolerance Interface