public class Frustum
extends java.lang.Object
Constructor and Description |
---|
Frustum()
Default constructor will make Frustum of a rectangular pyramid
with 6 planes.
|
Frustum(Plane p0,
Plane p1,
Plane p2,
Plane p3,
Plane p4,
Plane p5) |
Modifier and Type | Method and Description |
---|---|
Frustum |
clone() |
Frustum |
copy(Frustum frustum) |
java.util.List<Plane> |
getPlanes() |
boolean |
isContainsPoint(Vector3 point) |
boolean |
isIntersectsBox(Box3 box) |
boolean |
isIntersectsObject(GeometryObject object) |
boolean |
isIntersectsSphere(Sphere sphere) |
Frustum |
set(Plane p0,
Plane p1,
Plane p2,
Plane p3,
Plane p4,
Plane p5) |
Frustum |
setFromMatrix(Matrix4 m) |
public Frustum()
public java.util.List<Plane> getPlanes()
public boolean isIntersectsObject(GeometryObject object)
public boolean isIntersectsSphere(Sphere sphere)
public boolean isIntersectsBox(Box3 box)
public boolean isContainsPoint(Vector3 point)
public Frustum clone()
clone
in class java.lang.Object