Public Member Functions | |
Vector3D (double x, double y, double z) | |
Vector3D (Point3D pt) | |
String | toString () |
double | distanceFrom (Point3D p2) |
void | normalize () |
Public Attributes | |
double | x |
double | y |
double | z |
A vector-class for performing 3D measurements
Definition at line 8 of file Vector3D.java.
theba.core.math.Vector3D.Vector3D | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Definition at line 11 of file Vector3D.java.
theba.core.math.Vector3D.Vector3D | ( | Point3D | pt | ) |
Definition at line 17 of file Vector3D.java.
References theba.core.math.Point3D.x, theba.core.math.Vector3D.x, theba.core.math.Point3D.y, theba.core.math.Vector3D.y, theba.core.math.Point3D.z, and theba.core.math.Vector3D.z.
double theba.core.math.Vector3D.distanceFrom | ( | Point3D | p2 | ) |
Definition at line 28 of file Vector3D.java.
References theba.core.math.Point3D.x, theba.core.math.Vector3D.x, theba.core.math.Point3D.y, theba.core.math.Vector3D.y, theba.core.math.Point3D.z, and theba.core.math.Vector3D.z.
Referenced by theba.core.math.Vector3D.normalize().
void theba.core.math.Vector3D.normalize | ( | ) |
Definition at line 36 of file Vector3D.java.
References theba.core.math.Vector3D.distanceFrom(), theba.core.math.Vector3D.x, theba.core.math.Vector3D.y, and theba.core.math.Vector3D.z.
String theba.core.math.Vector3D.toString | ( | ) |
Definition at line 24 of file Vector3D.java.
References theba.core.math.Vector3D.x, theba.core.math.Vector3D.y, and theba.core.math.Vector3D.z.
double theba.core.math.Vector3D.x |
Definition at line 9 of file Vector3D.java.
Referenced by theba.core.math.Vector3D.distanceFrom(), theba.core.math.Vector3D.normalize(), theba.core.math.Vector3D.toString(), and theba.core.math.Vector3D.Vector3D().
double theba.core.math.Vector3D.y |
Definition at line 9 of file Vector3D.java.
Referenced by theba.core.math.Vector3D.distanceFrom(), theba.core.math.Vector3D.normalize(), theba.core.math.Vector3D.toString(), and theba.core.math.Vector3D.Vector3D().
double theba.core.math.Vector3D.z |
Definition at line 9 of file Vector3D.java.
Referenced by theba.core.math.Vector3D.distanceFrom(), theba.core.math.Vector3D.normalize(), theba.core.math.Vector3D.toString(), and theba.core.math.Vector3D.Vector3D().