ArcObjects Library Reference (Geometry)  

ISpatialReferenceTolerance.ZTolerance Property

The tolerance used to control point coalescing strictly along the Z axis.

[Visual Basic .NET]
Public Property ZTolerance As Double
[C#]
public double ZTolerance {get; set;}
[C++]
HRESULT get_ZTolerance(
  double* ZTolerance
);
[C++]
HRESULT put_ZTolerance(
  double ZTolerance
);
[C++]

Parameters

ZTolerance [out, retval]   ZTolerance is a parameter of type double ZTolerance   ZTolerance is a parameter of type double

Product Availability

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

Remarks

The ZTolerance property controls clustering of the z-values of coordinates. It currently is used only in the context of the topology validation operation. It is expressed in the spatial reference's vertical coordinate system units. Setting the ZTolerance using this property provides finer control than SetDefaultZTolerance or SetMinimumZTolerance.    

The minimum allowable ZTolerance is 2 * ZResolution (defined by ISpatialReferenceResolution::ZResolution).  To ensure that the ZTolerance specified is valid, use ZToleranceValid after setting the ZTolerance using this property.

The ZTolerance is undefined (NaN) by default.  Methods that define the z coordinate grid will set the z tolerance to the minimum value if it isn't currently defined

See Also

ISpatialReferenceTolerance Interface