Click or drag to resize

Cartographic.EqualsEpsilon Method

Indicates whether each coordinate value of another instance of this type is within the required tolerance of the corresponding coordinate value of this instance.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public bool EqualsEpsilon(
	Cartographic other,
	double epsilon
)

Parameters

other
Type: AGI.Foundation.Coordinates.Cartographic
The set of Cartographic coordinates to compare to this instance.
epsilon
Type: System.Double
The limit at which the absolute differences between the coordinate values will not be considered equal.

Return Value

Type: Boolean
true if the absolute differences are less than or equal to epsilon; otherwise false.

Implements

IEquatableEpsilon<T>.EqualsEpsilon(T, Double)
Remarks
This method performs a strict comparison of each coordinate value relative to the specified tolerance. Consider using IsEquivalent(Cartographic, Double) to account for longitude ambiguity for points near the poles.
See Also