|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.metasyntactic.graphics.shapes.Shape
|
+--org.metasyntactic.graphics.shapes.CartesianShape
|
+--org.metasyntactic.graphics.shapes.Plane
| Constructor Summary | |
Plane(double a,
double b,
double c,
double d)
|
|
Plane(double a,
double b,
double c,
double d,
Vector normal)
Creates a new instance of Plane |
|
| Method Summary | |
double |
getA()
Getter for property a. |
double |
getB()
Getter for property b. |
double |
getC()
Getter for property c. |
double |
getD()
Getter for property d. |
Intersection |
getIntersection(Ray ray)
returns null if there is no intersection |
Vector |
getNormal()
|
| Methods inherited from class org.metasyntactic.graphics.shapes.CartesianShape |
getIntersections, getPosition, setPosition |
| Methods inherited from class org.metasyntactic.graphics.shapes.Shape |
getColor, setColor, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Plane(double a,
double b,
double c,
double d,
Vector normal)
public Plane(double a,
double b,
double c,
double d)
| Method Detail |
public Intersection getIntersection(Ray ray)
getIntersection in class CartesianShapepublic double getA()
public double getB()
public double getC()
public double getD()
public Vector getNormal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||