#include <MathTypes.h>
Public Member Functions | |
| DPoint3 (double fx, double fy, double fz) | |
| DPoint3 (const FPoint3 &p) | |
| double | Length () const |
| double | LengthSquared () const |
| DPoint3 & | Normalize () |
| DPoint3 & | SetLength (double len) |
| void | Set (double fx, double fy, double fz) |
| double | Dot (const DPoint3 &rhs) const |
| DPoint3 | Cross (const DPoint3 &v) const |
| DPoint3 & | operator= (const DPoint3 &v) |
| DPoint3 & | operator= (const FPoint3 &v) |
| DPoint3 | operator+ (const DPoint3 &v) const |
| DPoint3 | operator- (const DPoint3 &v) const |
| DPoint3 | operator* (double s) const |
| DPoint3 | operator/ (double s) const |
| bool | operator== (const DPoint3 &v2) const |
| bool | operator!= (const DPoint3 &v2) const |
| double | operator* (const DPoint3 &v) const |
| void | operator+= (const DPoint3 &v) |
| void | operator-= (const DPoint3 &v) |
| void | operator*= (double s) |
| void | operator/= (double s) |
Public Attributes | |
| double | x |
| double | y |
| double | z |
A 3-component vector class, double-precision.
1.8.4