equalsEpsilon
fun equalsEpsilon(left: HeadingPitchRoll? = definedExternally, right: HeadingPitchRoll? = definedExternally, relativeEpsilon: Double? = definedExternally, absoluteEpsilon: Double? = definedExternally): Boolean(source)
Compares the provided HeadingPitchRolls componentwise and returns true
if they pass an absolute or relative tolerance test, false
otherwise.
Return
true
if left and right are within the provided epsilon, false
otherwise.
Parameters
left
The first HeadingPitchRoll.
right
The second 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