This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopology2 Interface > ITopology2.ZClusterTolerance Property (ArcObjects .NET 10.4 SDK) |
The z cluster tolerance of the topology.
[Visual Basic .NET] Public ReadOnly Property ZClusterTolerance As Double
[C#] public double ZClusterTolerance {get;}
[C++]
HRESULT get_ZClusterTolerance(
double* tolerance
);
[C++]
Parameters tolerance [out, retval] tolerance is a parameter of type double
The ZClusterTolerance property returns the Z cluster tolerance that was specified when the topology was built. As with the cluster tolerance, the Z cluster tolerance of the topology cannot be changed. In order to modify the Z cluster tolerance, the topology must be deleted and rebuilt with the new ZClusterTolerance value.
Unlike the cluster tolerance property, the ZClusterTolerance value indicates cluster tolerance distance as well as the Z clustering model that applies to the topology. A ZClusterTolerance value of 0 signifies the Building model, Z values of coincident vertices are not changed. A ZClusterTolerance value greater than 0 signifies the Terrain model, Z values of coincident vertices that are within the Z clsuter tolerance will be averaged together, based on the ZRank assigned to the features. (see ITopologyClass::ZRank )
ZClusterTolerance will return a value of -1 for any topology: