Click or drag to resize

UtilSphereIntersectsFrustum(Plane, BSphere) Method

Check to see if the supplied frustum defined by a set of planes intersects with the supplied sphere/>.

The frustum planes are usually Near, Far, Left, Right, Top, Bottom but Far can be ommitted in certain cases (selection to infinity).


Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntax
C#
public static bool SphereIntersectsFrustum(
	Plane[] frustum,
	BSphere sphere
)

Parameters

frustum  Plane
Array of Plane representing the frustum.
sphere  BSphere
The sphere.

Return Value

Boolean
True if they intersect, false otherwise.
See Also