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


ISpatialReferenceTolerance.ZToleranceValid Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

ISpatialReferenceTolerance.ZToleranceValid Property

Returns true if the Z tolerance is well defined (not NaN) and >= the minimum Z tolerance.

[Visual Basic .NET]
Public ReadOnly Property ZToleranceValid As esriSRToleranceEnum
[C#]
public esriSRToleranceEnum ZToleranceValid {get;}
[C++]
HRESULT get_ZToleranceValid(
  esriSRToleranceEnum* isValid
);
[C++]

Parameters isValid [out, retval]
isValid is a parameter of type esriSRToleranceEnum

Product Availability

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

Remarks

ZToleranceValid determines if the current ZTolerance associated with the spatial reference is valid.  A ZTolerance is considered valid when it is well defined (not NaN) and the Z tolerance is greater than or equal to the minimum ZTolerance. The minimum allowable ZTolerance is 2.0 * ZResolution

To ensure that the ZTolerance specified is valid, call ZToleranceValid after calling ISpatialReferenceTolerance::ZTolerance.

See Also

ISpatialReferenceTolerance Interface