| GeometryHelperHaveContact Method (Aabb, Plane) |
Determines whether the given axis-aligned bounding box (AABB) and plane overlap.
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static bool HaveContact(
Aabb aabb,
Plane plane
)
Public Shared Function HaveContact (
aabb As Aabb,
plane As Plane
) As Boolean
public:
static bool HaveContact(
Aabb aabb,
Plane plane
)
static member HaveContact :
aabb : Aabb *
plane : Plane -> bool
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