Vec3d operators.
[Basic types.]

Collaboration diagram for Vec3d operators.:

Operators on Vec3d instances. More...

Functions

Vec3d H3D::ArithmeticTypes::operator * (const Rotation &r, const Vec3d &v)
 Multiplication between Rotation and Vec3d.
Vec3d H3D::ArithmeticTypes::operator * (const Quaternion &r, const Vec3d &v)
 Multiplication between Matrix3f and Vec3d.
Vec3d H3D::ArithmeticTypes::operator * (const Matrix4f &m, const Vec3d &v)
 Multiplication between Matrix4f and Vec3d.
Vec3d H3D::ArithmeticTypes::operator * (const Matrix4d &m, const Vec3d &v)
 Multiplication between Matrix4d and Vec3d.
ostream & H3D::ArithmeticTypes::operator<< (ostream &os, const Vec3d &v)
 Function for printing a Vec3d to an ostream.
bool H3D::ArithmeticTypes::operator== (const Vec3d &v1, const Vec3d &v2)
 Test two Vec3d for equality.
Vec3d H3D::ArithmeticTypes::operator+ (const Vec3d &v1, const Vec3d &v2)
 Addition between two Vec3d.
Vec3d H3D::ArithmeticTypes::operator * (const Vec3d &v, const double &d)
 Multiply a Vec3d with a double.
Vec3d H3D::ArithmeticTypes::operator * (const Vec3d &v, const int &i)
 Multiply a Vec3d with an int.
Vec3d H3D::ArithmeticTypes::operator * (const Vec3d &v, const long &i)
 Multiply a Vec3d with a long.
Vec3d H3D::ArithmeticTypes::operator * (const Vec3d &v, const float &f)
 Multiply a Vec3d with a float.
H3DDouble H3D::ArithmeticTypes::operator * (const Vec3d &v1, const Vec3d &v2)
  Returns the dot product of two Vec3d.
Vec3d H3D::ArithmeticTypes::operator% (const Vec3d &v1, const Vec3d &v2)
  Returns the cross product of two Vec3d.
Vec3d H3D::ArithmeticTypes::operator * (const int &a, const Vec3d &b)
 Multiplication with int.
Vec3d H3D::ArithmeticTypes::operator * (const long &a, const Vec3d &b)
 Multiplication with long.
Vec3d H3D::ArithmeticTypes::operator * (const double &a, const Vec3d &b)
 Multiplication with float.
Vec3d H3D::ArithmeticTypes::operator- (const Vec3d &b)
 Unary minus.
Vec3d H3D::ArithmeticTypes::operator- (const Vec3d &a, const Vec3d &b)
 Subtraction between two Vec3d.

Detailed Description

Operators on Vec3d instances.

See also the template operators for more operators automatically defined from the explicit ones defined here.


Function Documentation

Vec3d H3D::ArithmeticTypes::operator * const Matrix4d &  m,
const Vec3d &  v
[inline]
 

Multiplication between Matrix4d and Vec3d.

It is assumed that the fourth element is 1.

Vec3d H3D::ArithmeticTypes::operator * const Matrix4f &  m,
const Vec3d &  v
[inline]
 

Multiplication between Matrix4f and Vec3d.

It is assumed that the fourth element is 1.


Generated on Thu Aug 24 12:38:45 2006 for H3D API by  doxygen 1.4.5