equalsEpsilon
fun equalsEpsilon(right: Cartesian4? = definedExternally, relativeEpsilon: Double? = definedExternally, absoluteEpsilon: Double? = definedExternally): Boolean(source)
Compares this Cartesian against the provided Cartesian 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 Cartesian.
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