AngleAxisRotationEqualsEpsilon Method |
Returns true if all of the elements of this rotation are within epsilon
of the same elements of the specified rotation. That is, in order for two items 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: 24.2.419.0 (24.2.419.0)
Syntax public bool EqualsEpsilon(
AngleAxisRotation other,
double epsilon
)
Public Function EqualsEpsilon (
other As AngleAxisRotation,
epsilon As Double
) As Boolean
public:
virtual bool EqualsEpsilon(
AngleAxisRotation other,
double epsilon
) sealed
abstract EqualsEpsilon :
other : AngleAxisRotation *
epsilon : float -> bool
override EqualsEpsilon :
other : AngleAxisRotation *
epsilon : float -> bool
Parameters
- other
- Type: AGI.Foundation.CoordinatesAngleAxisRotation
The rotation to compare to this rotation. - epsilon
- Type: SystemDouble
The largest difference between the elements of the rotations for which they will be considered equal.
Return Value
Type:
Booleantrue if the rotations are equal as defined by the epsilon value.
Implements
IEquatableEpsilonTEqualsEpsilon(T, Double)See Also