Click or drag to resize
DigitalRuneGeometryHelperHaveContact Method (Aabb, Vector3F, Pose, Boolean)
Determines whether the axis-aligned bounding box (AABB) and a box have contact.

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static bool HaveContact(
	Aabb aabb,
	Vector3F boxExtent,
	Pose boxPose,
	bool makeEdgeTests
)

Parameters

aabb
Type: DigitalRune.Geometry.ShapesAabb
The axis-aligned bounding box (AABB).
boxExtent
Type: DigitalRune.Mathematics.AlgebraVector3F
The box extent (the widths in x, y, and z).
boxPose
Type: DigitalRune.GeometryPose
The pose of the box in the space of the AABB.
makeEdgeTests
Type: SystemBoolean
If set to the 9 edge-edge tests of the separating-axis-test (SAT) are performed; otherwise, the edge-edge tests are left out and the returned value is conservative, which means that a contact can be reported even if there is no contact.

Return Value

Type: Boolean
if the AABB and the box are touching or penetrating; otherwise, if the object are separated.
See Also