|
_FORCEINLINE | vector2d () |
| The constructor does not set the initial values to the fields.
|
|
_FORCEINLINE | vector2d (double _x) |
| Конструктор, задает все параметры равными одному значению.
|
|
_FORCEINLINE | vector2d (double _x, double _y) |
|
_FORCEINLINE double | angle (vector2d &b) |
| The angle between the vectors.
|
|
_FORCEINLINE void | combine (vector2d &a, vector2d &b, double c, double d) |
| Масштобирование и сложение векторов по формуле a * c + b * d.
|
|
_FORCEINLINE double | dot (vector2d &a) |
| Скалярное произведение
|
|
_FORCEINLINE bool | leftOfLine (const vector2d &a, const vector2d &b) |
| The position of a point on a straight line passing through a b.
|
|
_FORCEINLINE void | lerp (vector2d &a, vector2d &b, double c) |
| The vector interpolation between a and b, с[0.0 .. 1.0].
|
|
_FORCEINLINE void | neg () |
| The appeal of the sign of the vector.
|
|
_FORCEINLINE const vector2d | norm () |
| Converts the vector to a unit length.
|
|
_FORCEINLINE void | normalize () |
| Scales the vector to a unit length.
|
|
_FORCEINLINE const vector2d | operator* (const double &b) |
| Scaling vector.
|
|
_FORCEINLINE const vector2d | operator* (const vector2d &a) |
| Element-by-element multiplication of vectors.
|
|
_FORCEINLINE const vector2d | operator+ (const vector2d &a) |
| Addition of vectors.
|
|
_FORCEINLINE const vector2d & | operator+= (const vector2d &a) |
| Addition of vectors.
|
|
_FORCEINLINE const vector2d | operator- (const vector2d &a) |
| Subtraction of vectors.
|
|
_FORCEINLINE const vector2d & | operator-= (const vector2d &a) |
| Subtraction of vectors.
|
|
_FORCEINLINE double & | operator[] (unsigned int id) const |
| Accessing parameters as array elements.
|
|
_FORCEINLINE double | quadDistanceFromLine (const vector2d &a, const vector2d &b) |
| The square of the distance from a point to a straight line passing through a b.
|
|
_FORCEINLINE vector2d | reflect (vector2d &a) |
| The reflection vector.
|
|
_FORCEINLINE void | scale (double a) |
| Scales the vector.
|
|
_FORCEINLINE double | sqrLen () |
| Vector length squared.
|
|
_FORCEINLINE void | zero () |
| Sets the value of the fields to zero.
|
|
|
_FORCEINLINE friend vector2d | operator* (const vector2d &a, const double &b) |
| Scaling vector.
|
|
_FORCEINLINE friend vector2d | operator* (const double &b, const vector2d &a) |
| Scaling vector.
|
|
_FORCEINLINE friend vector2d | operator* (vector2d &a, double &b) |
| Scaling vector.
|
|
_FORCEINLINE friend vector2d | operator* (double &b, vector2d &a) |
| Scaling vector.
|
|
_FORCEINLINE friend vector2d | operator* (const vector2d &a, const vector2d &b) |
| Element-by-element multiplication of vectors.
|
|
_FORCEINLINE friend vector2d | operator+ (const vector2f &a, const vector2d &b) |
| Addition of vectors.
|
|
_FORCEINLINE friend vector2d | operator+ (vector2d &a, vector2d &b) |
| Addition of vectors.
|
|
_FORCEINLINE friend vector2d | operator+= (vector2d &a, vector2d &b) |
| Addition of vectors.
|
|
_FORCEINLINE friend vector2d | operator- (const vector2d &a, const vector2d &b) |
| Subtraction of vectors.
|
|
_FORCEINLINE friend vector2d | operator- (vector2d &a, vector2d &b) |
| Subtraction of vectors.
|
|
_FORCEINLINE friend vector2d | operator-= (vector2d &a, vector2d &b) |
| Subtraction of vectors.
|
|
vector2d - двухмерный вектор двойной точности
- See Also
- vector2f, vector3f, vector3d, vector4f, vector4d, bt: math