equalsEpsilon

fun equalsEpsilon(left: Cartographic? = definedExternally, right: Cartographic? = definedExternally, epsilon: Double? = definedExternally): Boolean(source)

Compares the provided cartographics componentwise and returns true if they are within the provided epsilon, false otherwise.

Return

true if left and right are within the provided epsilon, false otherwise.

Parameters

left

The first cartographic.

right

The second cartographic.

epsilon

The epsilon to use for equality testing. Default value - 0

See also