UnitQuaternionIsEquivalent Method (UnitQuaternion, Double) |
Indicates whether another instance of this type is mathematically equivalent to this instance, within the required tolerance.
Instances are equivalent if each coordinate value of one instance is equal to the corresponding coordinate value of the other instance,
or if each coordinate value of one instance is the opposite of the corresponding coordinate value of the other instance.
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 IsEquivalent(
UnitQuaternion other,
double epsilon
)
Public Function IsEquivalent (
other As UnitQuaternion,
epsilon As Double
) As Boolean
public:
bool IsEquivalent(
UnitQuaternion other,
double epsilon
)
member IsEquivalent :
other : UnitQuaternion *
epsilon : float -> bool
Parameters
- other
- Type: AGI.Foundation.CoordinatesUnitQuaternion
The set of UnitQuaternion coordinates to compare to this instance. - epsilon
- Type: SystemDouble
The limit at which the absolute differences between the coordinate values will not be considered equal.
Return Value
Type:
Boolean if they are equivalent; otherwise
.
See Also