| GeometryHelperHaveContact Method (Aabb, Ray) |
Determines whether the given axis-aligned bounding box (AABB) and ray 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,
Ray ray
)
Public Shared Function HaveContact (
aabb As Aabb,
ray As Ray
) As Boolean
public:
static bool HaveContact(
Aabb aabb,
Ray ray
)
static member HaveContact :
aabb : Aabb *
ray : Ray -> bool
Parameters
- aabb
- Type: DigitalRune.Geometry.ShapesAabb
The axis-aligned bounding box (AABB). - ray
- Type: DigitalRune.Geometry.ShapesRay
The ray.
Return Value
Type:
Boolean if the AABB and the ray have a contact; otherwise,
.
See Also