
 NegXDirection () 

 CoordinateDirection (const CoordinateAxis &axis) 
 Implicit conversion of a CoordinateAxis to a positive CoordinateDirection along that axis. More...


 CoordinateDirection (const CoordinateAxis &axis, Negative) 
 Explicit creation of a negative CoordinateDirection from a CoordinateAxis. More...


 CoordinateDirection (const CoordinateAxis &axis, int direction) 
 Explicit creation of a CoordinateDirection from a CoordinateAxis and a direction calculated at run time. More...


CoordinateAxis  getAxis () const 
 This is the coordinate axis XAxis, YAxis, or ZAxis contained in this CoordinateDirection. Use getDirection() to determine whether this is the positive or negative direction. More...


int  getDirection () const 
 Returns 1 or 1 to indicate the direction along the coordinate axis returned by getAxis(). More...


bool  hasSameAxis (const CoordinateDirection &dir2) const 
 Return true if this direction and dir2 are along the same axis, even if the direction along that axis is not the same. More...


bool  isSameAxisAndDirection (const CoordinateDirection &dir2) const 
 Return true if this direction and dir2 are along the same axis, and in the same direction along that axis. You can also use operator==() for this comparison. More...


int  dotProduct (const CoordinateDirection &dir2) const 
 Perform a specialized dot product between this coordinate direction and dir2; returning 1 or 1 if they contain the same axis and 0 otherwise, without performing any floating point operations. More...


int  crossProductSign (const CoordinateDirection &dir2) const 
 Return the sign that would result from a cross product between this coordinate direction and dir2: 0 if they are along the same axis; 1 if the result would be in the positive direction along the third axis; 1 if it would be in the negative direction. More...


CoordinateAxis  crossProductAxis (const CoordinateDirection &dir2) const 
 Return the coordinate axis along which the cross product of this coordinate direction and dir2 would lie: same as this if both contain the same axis (doesn't matter because the sign would be zero); otherwise, the third axis that neither this one nor dir2 contains. More...


CoordinateAxis  crossProduct (const CoordinateDirection &dir2, int &sign) const 
 Return the axis and sign along that axis that would result from a cross product between this coordinate direction and dir2; this combines the functions of both crossProductAxis() and crossProductSign(). More...

