Collaboration diagram for Vec2d operators.:
|
Functions | |
| ostream & | H3D::ArithmeticTypes::operator<< (ostream &os, const Vec2d &v) |
| Function for printing a Vec2d to an ostream. | |
| bool | H3D::ArithmeticTypes::operator== (const Vec2d &v1, const Vec2d &v2) |
| Test two Vec2d for equality. | |
| Vec2d | H3D::ArithmeticTypes::operator+ (const Vec2d &v1, const Vec2d &v2) |
| Addition between two Vec2d. | |
| Vec2d | H3D::ArithmeticTypes::operator * (const Vec2d &v, const double &d) |
| Multiply a Vec2d with a double. | |
| H3DDouble | H3D::ArithmeticTypes::operator * (const Vec2d &v1, const Vec2d &v2) |
| Get the dot product of two Vec2d. | |
| Vec2d | H3D::ArithmeticTypes::operator * (const double &a, const Vec2d &b) |
| Multiplication with double. | |
| Vec2d | H3D::ArithmeticTypes::operator- (const Vec2d &b) |
| Unary minus. | |
| Vec2d | H3D::ArithmeticTypes::operator- (const Vec2d &a, const Vec2d &b) |
| Subtraction between two Vec2d. | |
See also the template operators for more operators automatically defined from the explicit ones defined here.
1.4.5