Tests whether the ray ray intersects box box.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static bool operator &(
	XAxisAlignedBox box,
	XRay ray
)

Parameters

box
Type: SGP.XSpace..::.XAxisAlignedBox
The source XAxisAlignedBox box.
ray
Type: SGP.XSpace..::.XRay
The XRay ray being tested.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the ray intersects the box.

See Also