intersectPlane

Determines which side of a plane the oriented bounding 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 oriented bounding box to test.

plane

The plane to test against.

See also