#include <point.h>
Inheritance diagram for FPOINT3D:

Public Member Functions | |
| FPOINT3D () | |
| FPOINT3D (const float dx, const float dy, const float dz) | |
| FPOINT3D (const FPOINT2D &rhs) | |
| FPOINT3D & | operator= (const DPOINT3D &rhs) |
| FPOINT3D | operator- () const |
| FPOINT3D | operator+ (const FPOINT3D &rhs) const |
| FPOINT3D | operator- (const FPOINT3D &rhs) const |
| FPOINT3D | operator * (const float rhs) const |
| FPOINT3D | operator/ (const float rhs) const |
| FPOINT3D | operator+= (const FPOINT3D &rhs) |
| FPOINT3D | operator-= (const FPOINT3D &rhs) |
| FPOINT3D | operator *= (const float rhs) |
| FPOINT3D | operator/= (const float rhs) |
| float | GetDistance (const FPOINT3D &pt) const |
| float | GetDistance () const |
| float | GetDistanceSquared (const FPOINT3D &pt) const |
| float | GetDistanceSquared () const |
| bool | Normalize () |
| float | DotProduct (const FPOINT3D &pt) const |
| FPOINT3D | CrossProduct (const FPOINT3D &pt) const |
| void | SwapBytes () |
| CHECKSIZE (12) | |
Static Public Member Functions | |
| bool | Normalize (FPOINT3D &pt) |
Public Attributes | |
| float | z |
Definition at line 541 of file point.h.
|
|
Default constructor, performs no initialization.
|
|
||||||||||||||||
|
Initialize from separate X, Y, Z values.
|
|
|
Initialize from FPOINT2D.
|
|
|
Make compiler validate structure size.
|
|
|
Cross product.
|
|
|
Dot product.
|
|
|
Return distance between origin and point.
Reimplemented from FPOINT2D. |
|
|
Return distance between two points.
|
|
|
Return squared distance between origin and point.
Reimplemented from FPOINT2D. |
|
|
Return squared distance between two points.
|
|
|
Normalize.
|
|
|
Normalize.
Reimplemented from FPOINT2D. |
|
|
Multiplication operator.
Reimplemented from FPOINT2D. |
|
|
Times equals operator.
Reimplemented from FPOINT2D. |
|
|
Addition operator.
|
|
|
Plus equals operator.
|
|
|
Subtraction operator.
|
|
|
Negation operator.
Reimplemented from FPOINT2D. |
|
|
Minus equals operator.
|
|
|
Division operator.
Reimplemented from FPOINT2D. |
|
|
Divided by equals operator.
Reimplemented from FPOINT2D. |
|
|
Assignment from DPOINT3D.
|
|
|
Perform byte-swapping.
Reimplemented from FPOINT2D. |
|
|
|
1.3.4-20031026