Click or drag to resize

YawPitchRollEqualsEpsilon Method

Returns 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 ), 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(
	YawPitchRoll other,
	double epsilon
)

Parameters

other
Type: AGI.Foundation.CoordinatesYawPitchRoll
The Quaternion to compare to this quaternion.
epsilon
Type: SystemDouble
The largest difference between the elements of the quaternions for which they will be considered equal.

Return Value

Type: Boolean
if the quaternions are equal as defined by the epsilon value.

Implements

IEquatableEpsilonTEqualsEpsilon(T, Double)
See Also