|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.metasyntactic.graphics.primitives.Point
Constructor Summary | |
Point(double x,
double y,
double z)
Creates a new instance of Point |
Method Summary | |
Point |
add(Vector v)
|
static double |
distance(Point p1,
Point p2)
|
static Point |
fromXML(org.w3c.dom.Element element)
Setter for property z. |
double |
getX()
Getter for property x. |
double |
getY()
Getter for property y. |
double |
getZ()
Getter for property z. |
Point |
subtract(Point p)
|
java.lang.String |
toString()
|
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Point(double x, double y, double z)
Method Detail |
public static double distance(Point p1, Point p2)
public final double getX()
public final double getY()
public final double getZ()
public static Point fromXML(org.w3c.dom.Element element)
public Point add(Vector v)
public Point subtract(Point p)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |