| AabbAreNumericallyEqual Method (Aabb, Aabb, Single) |
Determines whether two AABBs are equal (regarding the given tolerance).
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static bool AreNumericallyEqual(
Aabb first,
Aabb second,
float epsilon
)
Public Shared Function AreNumericallyEqual (
first As Aabb,
second As Aabb,
epsilon As Single
) As Boolean
public:
static bool AreNumericallyEqual(
Aabb first,
Aabb second,
float epsilon
)
static member AreNumericallyEqual :
first : Aabb *
second : Aabb *
epsilon : float32 -> bool
Parameters
- first
- Type: DigitalRune.Geometry.ShapesAabb
The first AABB. - second
- Type: DigitalRune.Geometry.ShapesAabb
The second AABB. - epsilon
- Type: SystemSingle
The tolerance value.
Return Value
Type:
Boolean if the AABBs are equal (within the tolerance
EpsilonF); otherwise,
.
Remarks
If the components of
Minimum and
Maximum differ less then
epsilon the AABBs are considered as being equal.
See Also