Click or drag to resize
DigitalRuneGeometryHelperHaveContact Method (Aabb, Plane)
Determines whether the given axis-aligned bounding box (AABB) and plane overlap.

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,
	Plane plane
)

Parameters

aabb
Type: DigitalRune.Geometry.ShapesAabb
The axis-aligned bounding box (AABB).
plane
Type: DigitalRune.Geometry.ShapesPlane
The plane.

Return Value

Type: Boolean
if the AABB and the plane have a contact; otherwise, .
Remarks
The plane defines a "half-space". This method returns if the AABB is intersecting the plane or if the AABB is completely behind the plane in the negative half-space.
See Also