Show / Hide Table of Contents

Property VerticalTolerance

VerticalTolerance

Gets the minimum distance that determines if two z-values are considered to be at the same location for GeometryEngine operations that compare z-values.

Declaration
public double VerticalTolerance { get; }
Property Value
Type Description
System.Double

The minimum distance that determines if two z-values are considered to be at the same location for GeometryEngine operations that compare z-values.

Remarks

This value is used in relational and topological GeometryEngine operations when determining whether two z-values are close enough to be considered as the same value when calculating the result. The units of VerticalTolerance are the units of the vertical coordinate system (VerticalUnit) defined when this spatial reference was created, if one was set.

Note that VerticalTolerance is currently only used by Simplify(Geometry) and when the input is a z-aware Polyline; it is not used in other methods.

A separate tolerance, Tolerance, is defined for the difference between x,y coordinates.

Spatial references have default precision properties, and Esri strongly recommends using the default values in most cases. However some high-accuracy workflows customize the default values to work with a higher precision. To perform operations using a non-default tolerance, create a Geometry with your custom tolerance spatial reference, and pass that geometry to the operation. See SpatialReferenceBuilder for more information about creating spatial references with custom precision values.

See also: The properties of a spatial reference

See Also
SpatialReferenceBuilder

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.8
.NET200.8
.NET Windows200.8
.NET Android200.8
.NET iOS200.8
.NET Framework200.8
UWP200.8
In This Article
Back to top Copyright © 2022 Esri.