|
MVT API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--math.objects.Point3D
The class Point3D
is similar to the Point2D.Double
class and duplicates a lot of the code in the Point3D.Double class
in the java3d libraries, which has not be included in this software
yet.
Field Summary | |
double |
x
The member variable x represents the x-coordinate
of the point. |
double |
y
The member variable y represents the x-coordinate
of the point. |
double |
z
The member variable z represents the x-coordinate
of the point. |
Constructor Summary | |
Point3D(double x,
double y,
double z)
Creates a new Point3D instance based on the
x, y, and z coordinates of the point. |
Method Summary | |
java.lang.String |
toString()
The method toString returns a string represenation
of the Point3D object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public double x
x
represents the x-coordinate
of the point.
public double y
y
represents the x-coordinate
of the point.
public double z
z
represents the x-coordinate
of the point.
Constructor Detail |
public Point3D(double x, double y, double z)
Point3D
instance based on the
x, y, and z coordinates of the point.
x
- a double
valuey
- a double
valuez
- a double
valueMethod Detail |
public java.lang.String toString()
toString
returns a string represenation
of the Point3D object.
toString
in class java.lang.Object
String
value
|
MVT API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |