math
Class Point3D
java.lang.Object
math.Vector
math.Point3D
public class Point3D
- extends Vector
a 3 dimensional point
Fields inherited from class math.Vector |
w, x, y, z |
Method Summary |
void |
set(double x_,
double y_,
double z_)
|
void |
set(Point3D p)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Point3D
public Point3D(double x,
double y,
double z)
- constructor
- Parameters:
x
- [in] x coordinatey
- [in] y coordinatez
- [in] z coordinate
Point3D
public Point3D(Point3D p)
- copy constructor
- Parameters:
p
- [in] other point
Point3D
public Point3D(Point3D p,
Vector3D v)
- new point is point + vector
- Parameters:
p
- [in] pointv
- [in] vector
Point3D
public Point3D()
- standard constructor
set
public void set(double x_,
double y_,
double z_)
set
public void set(Point3D p)