Table of Contents

Class BoundingFrustumExtensions

Namespace
HelixToolkit.SharpDX
Assembly
HelixToolkit.SharpDX.dll
public static class BoundingFrustumExtensions
Inheritance
BoundingFrustumExtensions
Inherited Members

Methods

Intersects(ref BoundingFrustum, ref BoundingBox)

public static bool Intersects(ref BoundingFrustum frustum, ref BoundingBox box)

Parameters

frustum BoundingFrustum

The frustum.

box BoundingBox

The box.

Returns

bool

Intersects(ref BoundingFrustum, ref BoundingSphere)

public static bool Intersects(ref BoundingFrustum frustum, ref BoundingSphere sphere)

Parameters

frustum BoundingFrustum
sphere BoundingSphere

Returns

bool

IsInOrIntersectFrustum(ref BoundingFrustum, ref BoundingBox, ref BoundingSphere)

Intersectses the specified frustum. Return false if either box or sphere is not intersect with the frustum, otherwise return true

public static bool IsInOrIntersectFrustum(ref BoundingFrustum frustum, ref BoundingBox box, ref BoundingSphere sphere)

Parameters

frustum BoundingFrustum

The frustum.

box BoundingBox

The box.

sphere BoundingSphere

The sphere.

Returns

bool