| PoseAreNumericallyEqual Method (Pose, Pose, Single) |
Determines whether two poses are equal (regarding a specific tolerance).
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static bool AreNumericallyEqual(
Pose pose1,
Pose pose2,
float epsilon
)
Public Shared Function AreNumericallyEqual (
pose1 As Pose,
pose2 As Pose,
epsilon As Single
) As Boolean
public:
static bool AreNumericallyEqual(
Pose pose1,
Pose pose2,
float epsilon
)
static member AreNumericallyEqual :
pose1 : Pose *
pose2 : Pose *
epsilon : float32 -> bool
Parameters
- pose1
- Type: DigitalRune.GeometryPose
The first pose. - pose2
- Type: DigitalRune.GeometryPose
The second pose. - epsilon
- Type: SystemSingle
The tolerance value.
Return Value
Type:
Boolean if the poses are equal (within the tolerance
epsilon); otherwise,
.
Remarks
The two vectors are compared component-wise. If the differences of the components are less
than epsilon the poses are considered as being equal.
See Also