intersectPlane

Determines which side of a plane a box is located.

Return

Intersect.INSIDE if the entire box is on the side of the plane the normal is pointing, Intersect.OUTSIDE if the entire box is on the opposite side, and Intersect.INTERSECTING if the box intersects the plane.

Parameters

box

The bounding box to test.

plane

The plane to test against.

See also