|
||||||||||
| 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
| Constructor Summary | |
CartesianShape()
Creates a new instance of CartesianShape |
|
| Method Summary | |
Intersection |
getIntersection(Ray ray)
returns null if there is no intersection |
java.util.List |
getIntersections(Ray ray)
|
Point |
getPosition()
Getter for property position. |
void |
setPosition(Point position)
Setter for property position. |
| 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 CartesianShape()
| Method Detail |
public Point getPosition()
public void setPosition(Point position)
position - New value of property position.public Intersection getIntersection(Ray ray)
public java.util.List getIntersections(Ray ray)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||