| PoseDAreNumericallyEqual Method (PoseD, PoseD, Double) |
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(
PoseD pose1,
PoseD pose2,
double epsilon
)
Public Shared Function AreNumericallyEqual (
pose1 As PoseD,
pose2 As PoseD,
epsilon As Double
) As Boolean
public:
static bool AreNumericallyEqual(
PoseD pose1,
PoseD pose2,
double epsilon
)
static member AreNumericallyEqual :
pose1 : PoseD *
pose2 : PoseD *
epsilon : float -> bool
Parameters
- pose1
- Type: DigitalRune.GeometryPoseD
The first pose. - pose2
- Type: DigitalRune.GeometryPoseD
The second pose. - epsilon
- Type: SystemDouble
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