YawPitchRoll.EqualsEpsilon Method |
Returns true if all of the elements of this quaternion are within epsilon
of the same elements of the specified quaternion. That is, in order for the quaternions to be
considered equal (and for this function to return true), the absolute value of the
difference between each of their elements must be less than or equal to epsilon.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic bool EqualsEpsilon(
YawPitchRoll other,
double epsilon
)
Public Function EqualsEpsilon (
other As YawPitchRoll,
epsilon As Double
) As Boolean
public:
virtual bool EqualsEpsilon(
YawPitchRoll other,
double epsilon
) sealed
abstract EqualsEpsilon :
other : YawPitchRoll *
epsilon : float -> bool
override EqualsEpsilon :
other : YawPitchRoll *
epsilon : float -> bool
Parameters
- other
- Type: AGI.Foundation.Coordinates.YawPitchRoll
The Quaternion to compare to this quaternion. - epsilon
- Type: System.Double
The largest difference between the elements of the quaternions for which they will be considered equal.
Return Value
Type:
Booleantrue if the quaternions are equal as defined by the epsilon value.
Implements
IEquatableEpsilon<T>.EqualsEpsilon(T, Double)
See Also