#include <ardev_types.h>
Public Member Functions | |
| ARPoint (double _x, double _y, double _z) | |
| Create an ARPoint with given x,y,z values. | |
| ARPoint () | |
| Create an ARPoint object at 0,0,0. | |
| ARPoint & | RotateX (double theta) |
| rotate point by theta radians about origin | |
| ARPoint & | RotateY (double theta) |
| rotate point by theta radians about origin | |
| ARPoint & | RotateZ (double theta) |
| rotate point by theta radians about origin | |
| ARPoint & | RotateYPR (double Y, double P, double R) |
| rotate yaw, pitch and then roll in radians | |
| ARPoint & | RotateRPY (double R, double P, double Y) |
| rotate roll, potch then yaw in radians | |
| double | Mag () |
| ARPoint | operator+ (const ARPoint &rhs) |
| Add two points. | |
| ARPoint | operator- (const ARPoint &rhs) const |
| Subtract two points. | |
| ARPoint & | operator+= (const ARPoint &rhs) |
| Add rhs to this point. | |
| ARPoint & | operator *= (const double &rhs) |
| scalar multiplcation | |
| ARPoint | operator * (const double &rhs) |
| scalar multiplcation | |
| bool | operator== (const ARPoint &rhs) const |
| comparison | |
| double | DotProduct (const ARPoint &rhs) |
| dot product of two ARPoints | |
| void | Print () const |
| Display the point on stdout. | |
Public Attributes | |
| double | x |
| The X coordinate. | |
| double | y |
| The Y coordinate. | |
| double | z |
| The Z coordinate. | |
Describes a point in 3d space as 3 double precision values (X,Y,Z)
1.5.1