april  1.0.0
...
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
P3D Struct Reference

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
   } 
}; 

Detailed Description

a point in 3D space


The documentation for this struct was generated from the following file: