Show / Hide Table of Contents

Property Tolerance

Tolerance

Gets the minimum distance that determines if two x,y coordinates are considered to be at the same location for relational and topological GeometryEngine operations.

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

The minimum distance that determines if two x,y coordinates are considered to be at the same location for relational and topological GeometryEngine operations.

Remarks

This value is used in relational and topological GeometryEngine operations when determining whether two points are close enough, in the horizontal plane, to be considered as the same coordinate value when calculating the result. The units of Tolerance are the units of the horizontal coordinate system (Unit) defined when this spatial reference was created.

A separate tolerance, VerticalTolerance, is defined for the difference between z-values.

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 relational or topological 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.