ARPoint Class Reference

A basic 3d Point. More...

#include <ardev_types.h>

List of all members.

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.
ARPointRotateX (double theta)
 rotate point by theta radians about origin
ARPointRotateY (double theta)
 rotate point by theta radians about origin
ARPointRotateZ (double theta)
 rotate point by theta radians about origin
ARPointRotateYPR (double Y, double P, double R)
 rotate yaw, pitch and then roll in radians
ARPointRotateRPY (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.
ARPointoperator+= (const ARPoint &rhs)
 Add rhs to this point.
ARPointoperator *= (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.


Detailed Description

A basic 3d Point.

Describes a point in 3d space as 3 double precision values (X,Y,Z)


The documentation for this class was generated from the following files:
SourceForge.net Logo Generated on Sat May 12 15:25:43 2007 for ardev by doxygen 1.5.1