| 
|   | CVector3 () | 
|   | Class constructor.  More...
  | 
|   | 
|   | CVector3 (Real f_x, Real f_y, Real f_z) | 
|   | Class constructor.  More...
  | 
|   | 
|   | CVector3 (const std::array< Real, 3 > &arr_coordinates) | 
|   | Class constructor.  More...
  | 
|   | 
|   | CVector3 (Real f_length, const CRadians &c_inclination, const CRadians &c_azimuth) | 
|   | Class constructor.  More...
  | 
|   | 
| Real  | GetX () const | 
|   | Returns the x coordinate of this vector.  More...
  | 
|   | 
| void  | SetX (const Real f_x) | 
|   | Sets the x coordinate of this vector.  More...
  | 
|   | 
| Real  | GetY () const | 
|   | Returns the y coordinate of this vector.  More...
  | 
|   | 
| void  | SetY (const Real f_y) | 
|   | Sets the y coordinate of this vector.  More...
  | 
|   | 
| Real  | GetZ () const | 
|   | Returns the z coordinate of this vector.  More...
  | 
|   | 
| void  | SetZ (const Real f_z) | 
|   | Sets the z coordinate of this vector.  More...
  | 
|   | 
| void  | Set (const Real f_x, const Real f_y, const Real f_z) | 
|   | Sets the vector contents from Cartesian coordinates.  More...
  | 
|   | 
| void  | Set (const std::array< Real, 3 > &arr_coordinates) | 
|   | Sets the vector contents from Cartesian coordinates.  More...
  | 
|   | 
| CVector3 &  | FromSphericalCoords (Real f_length, const CRadians &c_inclination, const CRadians &c_azimuth) | 
|   | Sets the vector contents from spherical coordinates.  More...
  | 
|   | 
| void  | ToSphericalCoords (Real &f_radius, CRadians &c_inclination, CRadians &c_azimuth) const | 
|   | Returns the vector contents as spherical coordinates.  More...
  | 
|   | 
| Real  | SquareLength () const | 
|   | Returns the square length of this vector.  More...
  | 
|   | 
| Real  | Length () const | 
|   | Returns the length of this vector.  More...
  | 
|   | 
| CVector3 &  | Normalize () | 
|   | Normalizes this vector.  More...
  | 
|   | 
| CVector3 &  | RotateX (const CRadians &c_angle) | 
|   | Rotates this vector wrt the x axis.  More...
  | 
|   | 
| CVector3 &  | RotateY (const CRadians &c_angle) | 
|   | Rotates this vector wrt the y axis.  More...
  | 
|   | 
| CVector3 &  | RotateZ (const CRadians &c_angle) | 
|   | Rotates this vector wrt the z axis.  More...
  | 
|   | 
| CVector3 &  | RotateZ (const CVector2 &c_vector) | 
|   | Rotates this vector wrt the z axis.  More...
  | 
|   | 
| CVector3 &  | Rotate (const CQuaternion &c_quaternion) | 
|   | Rotates this vector by the given quaternion.  More...
  | 
|   | 
| CRadians  | GetAngleWith (const CVector3 &c_other) | 
|   | Returns the angle between this vector and the passed vector.  More...
  | 
|   | 
| CRadians  | GetXAngle () const | 
|   | Returns the angle between this vector and the x axis.  More...
  | 
|   | 
| CRadians  | GetYAngle () const | 
|   | Returns the angle between this vector and the y axis.  More...
  | 
|   | 
| CRadians  | GetZAngle () const | 
|   | Returns the angle between this vector and the z axis.  More...
  | 
|   | 
| Real  | DotProduct (const CVector3 &c_vector3) const | 
|   | Returns the dot product between this vector and the passed one.  More...
  | 
|   | 
| CVector3 &  | CrossProduct (const CVector3 &c_vector3) | 
|   | Calculates the cross product between this vector and the passed one.  More...
  | 
|   | 
| CVector2 &  | ProjectOntoXY (CVector2 &c_proj) const | 
|   | Calculates the projection of this vector onto the xy plane.  More...
  | 
|   | 
| CVector2 &  | ProjectOntoYZ (CVector2 &c_proj) const | 
|   | Calculates the projection of this vector onto the yz plane.  More...
  | 
|   | 
| CVector2 &  | ProjectOntoXZ (CVector2 &c_proj) const | 
|   | Calculates the projection of this vector onto the xz plane.  More...
  | 
|   | 
| CVector3 &  | Negate () | 
|   | Negates this vector.  More...
  | 
|   | 
| Real  | operator[] (UInt32 un_index) const | 
|   | Returns a Cartesian coordinate of this vector.  More...
  | 
|   | 
| Real &  | operator[] (UInt32 un_index) | 
|   | Returns a Cartesian coordinate of this vector.  More...
  | 
|   | 
| bool  | operator== (const CVector3 &c_vector3) const | 
|   | Returns true if this vector and the passed one are equal.  More...
  | 
|   | 
| bool  | operator!= (const CVector3 &c_vector3) const | 
|   | Returns true if this vector and the passed one are not equal.  More...
  | 
|   | 
| bool  | operator< (const CVector3 &c_vector3) const | 
|   | Returns true if this vector is smaller than the passed one.  More...
  | 
|   | 
| bool  | operator<= (const CVector3 &c_vector3) const | 
|   | Returns true if this vector is smaller than or equal to the passed one.  More...
  | 
|   | 
| bool  | operator> (const CVector3 &c_vector3) const | 
|   | Returns true if this vector is greater than the passed one.  More...
  | 
|   | 
| bool  | operator>= (const CVector3 &c_vector3) const | 
|   | Returns true if this vector is greater than or equal to the passed one.  More...
  | 
|   | 
| CVector3  | operator- () const | 
|   | Returns a negated copy of this vector.  More...
  | 
|   | 
| CVector3 &  | operator+= (const CVector3 &c_vector3) | 
|   | Sums the passed vector to this vector.  More...
  | 
|   | 
| CVector3 &  | operator-= (const CVector3 &c_vector3) | 
|   | Subtracts the passed vector from this vector.  More...
  | 
|   | 
| CVector3 &  | operator*= (Real f_value) | 
|   | Multiplies this vector by the given value.  More...
  | 
|   | 
| CVector3 &  | operator/= (Real f_value) | 
|   | Divides this vector by the given value.  More...
  | 
|   | 
| CVector3  | operator+ (const CVector3 &c_vector3) const | 
|   | Returns a new vector containing the sum between this vector and the passed one.  More...
  | 
|   | 
| CVector3  | operator- (const CVector3 &c_vector3) const | 
|   | Returns a new vector containing the subtraction between this vector and the passed one.  More...
  | 
|   | 
| CVector3  | operator* (Real f_value) const | 
|   | Returns a new vector containing the multiplication between this vector and the passed value.  More...
  | 
|   | 
| CVector3  | operator/ (const Real f_value) const | 
|   | Returns a new vector containing the division between this vector and the passed value.  More...
  | 
|   | 
|   | operator CMatrix< 1, 3 > () const | 
|   | Implict conversion to a row matrix.  More...
  | 
|   | 
|   | operator CMatrix< 3, 1 > () const | 
|   | Implict conversion to a column matrix.  More...
  | 
|   | 
A 3D vector class. 
Definition at line 31 of file vector3.h.