Represents a 3D vector using three doubles. More...
Inheritance diagram for com.mak.vrlj.math.Vector3d:
Collaboration diagram for com.mak.vrlj.math.Vector3d:Public Member Functions | |
| Vector3d () | |
| No-arg constructor. More... | |
| Vector3d (ConstVector3d other) | |
| Copy constructor. More... | |
| Vector3d (ConstVector3f other) | |
| Copy constructor from Vector3f. More... | |
| Vector3d (double x, double y, double z) | |
| Initializing constructor. More... | |
| void | add (ConstVector3d offset) |
| Add another vector to this and store the result in this. More... | |
| double | angle (ConstVector3d other) |
| Compute the angle between 2 vectors. More... | |
| void | assignFrom (ConstVector3d other) |
| Assign new values to this vector from another. More... | |
| void | assignFrom (ConstVector3f other) |
| Assign new values to this vector from a Vector3f. More... | |
| Vector3d | cross (ConstVector3d other) |
| Cross product of 2 vectors. More... | |
| double | distance (ConstVector3d p) |
| Get the distance between 2 3d points. More... | |
| double | dot (ConstVector3d other) |
| Dot product of 2 vectors. More... | |
| boolean | equals (Object obj) |