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


ISpatialReferenceTolerance.IsZToleranceEqual Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

ISpatialReferenceTolerance.IsZToleranceEqual Method

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

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

Parameters otherSR [in]
otherSR is a parameter of type ISpatialReference IsZToleranceEqual [out, retval] IsZToleranceEqual is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

IsZToleranceEqual will return True if both Spatial Reference Z Tolerances 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