|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.metasyntactic.graphics.primitives.Ray
| Constructor Summary | |
Ray()
Creates a new instance of Ray |
|
Ray(Point position,
Vector direction)
|
|
| Method Summary | |
static Ray |
fromXML(org.w3c.dom.Element element)
|
Vector |
getDirection()
Getter for property direction. |
Point |
getPosition()
Getter for property position. |
Point |
getTail()
|
Point |
getTail(double scale)
|
void |
setDirection(Vector direction)
Setter for property direction. |
void |
setPosition(Point position)
Setter for property position. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Ray()
public Ray(Point position,
Vector direction)
| Method Detail |
public Point getPosition()
public void setPosition(Point position)
position - New value of property position.public Vector getDirection()
public void setDirection(Vector direction)
direction - New value of property direction.public Point getTail()
public Point getTail(double scale)
public static Ray fromXML(org.w3c.dom.Element element)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||