equalsEpsilon

fun equalsEpsilon(right: HeadingPitchRoll? = definedExternally, relativeEpsilon: Double? = definedExternally, absoluteEpsilon: Double? = definedExternally): Boolean(source)

Compares this HeadingPitchRoll against the provided HeadingPitchRoll componentwise and returns true if they pass an absolute or relative tolerance test, false otherwise.

Return

true if they are within the provided epsilon, false otherwise.

Parameters

right

The right hand side HeadingPitchRoll.

relativeEpsilon

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

absoluteEpsilon

The absolute epsilon tolerance to use for equality testing. Default value - relativeEpsilon

See also