|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.geom.Frustum
public class Frustum
Instances of Frustum are immutable.
| Constructor Summary | |
|---|---|
Frustum()
Create a default frustum with six Planes. |
|
Frustum(Plane near,
Plane far,
Plane left,
Plane right,
Plane bottom,
Plane top)
Create a frustum from six Planes, which define its boundaries. |
|
| Method Summary | |
|---|---|
boolean |
contains(Point point)
|
boolean |
equals(Object o)
|
Plane |
getBottom()
Obtain the bottom Plane. |
Plane |
getFar()
Obtain the far Plane. |
Frustum |
getInverseTransformed(Matrix m)
|
Plane |
getLeft()
Obtain the left Plane. |
Plane |
getNear()
Obtain the near Plane. |
Plane |
getRight()
Obtain the right Plane. |
Plane |
getTop()
Obtain the top Plane. |
int |
hashCode()
|
boolean |
intersects(Extent extent)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Frustum()
Planes. This defines a box of dimension (2, 2, 2) centered at the
origin.
public Frustum(Plane near,
Plane far,
Plane left,
Plane right,
Plane bottom,
Plane top)
Planes, which define its boundaries. Does not except null arguments.
near - the near planefar - the far planeleft - the left side of the view frustumright - the right side of the view frustmtop - the top of the view frustumbottom - the bottom of the view frustum
IllegalArgumentException - if any argument is null| Method Detail |
|---|
public final boolean contains(Point point)
point -
IllegalArgumentException - if point is nullpublic boolean equals(Object o)
equals in class Objectpublic final Plane getBottom()
Plane.
Planepublic final Plane getFar()
Plane.
Planepublic final Frustum getInverseTransformed(Matrix m)
m -
IllegalArgumentException - if m is nullpublic final Plane getLeft()
Plane.
Planepublic final Plane getNear()
Plane.
Planepublic final Plane getRight()
Plane.
Planepublic final Plane getTop()
Plane.
Planepublic int hashCode()
hashCode in class Objectpublic final boolean intersects(Extent extent)
extent -
IllegalArgumentException - if extent is nullpublic String toString()
toString in class Object
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||