|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.geometry.Plane
public class Plane
This class represents a plane that is defined by the common plane equation Ax + By + Cz + D = 0.
| Constructor Summary | |
|---|---|
Plane()
Creates a new frustum plane with all values initially 0f. |
|
Plane(float a,
float b,
float c,
float d)
Creates a new plane with the specified values for the plane equation's coefficients. |
|
| Method Summary | |
|---|---|
float |
getA()
Returns the A coefficient of the plane equation |
float |
getB()
Returns the B coefficient of the plane equation |
float |
getC()
Returns the C coefficient of the plane equation |
float |
getD()
Returns the D coefficient of the plane equation |
void |
setA(float a)
Sets the plane equation's A coefficient |
void |
setB(float b)
Sets the plane equation's B coefficient |
void |
setC(float c)
Sets the plane equation's C coefficient |
void |
setD(float d)
Sets the plane equation's D coefficient |
void |
setPlaneCoefficients(float a,
float b,
float c,
float d)
Sets the coefficients of the plane equation to the specified values for a, b, c and d |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Plane()
public Plane(float a,
float b,
float c,
float d)
a - coefficient value for Ab - coefficient value for Bc - coefficient value for Cd - coefficient value for D| Method Detail |
|---|
public void setPlaneCoefficients(float a,
float b,
float c,
float d)
a - A value of the plane equationb - B value of the plane equationc - C value of the plane equationd - D value of the plane equationpublic float getA()
public void setA(float a)
a - A value of the plane equationpublic void setB(float b)
b - B value of the plane equationpublic void setC(float c)
c - C value of the plane equationpublic void setD(float d)
d - D value of the plane equationpublic float getB()
public float getC()
public float getD()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||