a point in 3D space More...
#include <p3d.h>
Public Member Functions | |
void | reset (void) |
bring the internal variables to their ground state | |
bool | operator== (const P3D &other) const |
compares two points and compares their coorsinates | |
bool | operator!= (const P3D &other) const |
compares two points and compares their coorsinates |
Public Attributes | |
union { | |
COORDV pts_ [3] | |
coordinates in an array of 3 values: X, Y and Z | |
struct { | |
COORDV x_ | |
X component. | |
COORDV y_ | |
Y component. | |
COORDV z_ | |
Y component. | |
} | |
struct { | |
P2D d2_ | |
projection to X0Y plane | |
} | |
}; |
a point in 3D space