103 float r1, r2, r3,
r4;
void ApplyHomography(const Mat3d &A, const Vec2d &p, Vec2d &result)
float Angle(const Vec2d &vector1, const Vec2d &vector2)
void Transpose(const Mat2d &matrix, Mat2d &result)
void Average(const Vec2d &vector1, const Vec2d &vector2, Vec2d &result)
Efficient mathematic functions operating on the data types Vec2d and Mat2d.
std::vector< Vec2d > Vec2dList
void RotateVec(const Vec2d &point, const Vec2d ¢er, float angle, Vec2d &result)
void Mean(const Vec2d *pVectors, int nVectors, Vec2d &result)
float SquaredDistance(const Vec2d &vector1, const Vec2d &vector2)
Data structure for the representation of a 2D rectangle.
void ComputeRectangleCornerPoints(const Rectangle2d &rectangle, Vec2d resultCornerPoints[4])
float ScalarProduct(const Vec2d &vector1, const Vec2d &vector2)
void MulVecScalar(const Vec2d &vec, float scalar, Vec2d &result)
void SetVec(Vec2d &vec, const Vec2d &sourceVector)
float Distance(const Vec2d &vector1, const Vec2d &vector2)
Data structure for the representation of a 2x2 matrix.
void SetRotationMat(Mat2d &matrix, float angle)
void NormalizeVec(Vec2d &vec)
float Length(const Vec2d &vec)
void SubtractVecVec(const Vec2d &vector1, const Vec2d &vector2, Vec2d &result)
void Invert(const Mat2d &matrix, Mat2d &result)
void AddVecVec(const Vec2d &vector1, const Vec2d &vector2, Vec2d &result)
void MulMatMat(const Mat2d &matrix1, const Mat2d &matrix2, Mat2d &result)
void AddToVec(Vec2d &vec, const Vec2d &vectorToAdd)
void MulMatVec(const Mat2d &matrix, const Vec2d &vector1, const Vec2d &vector2, Vec2d &result)
Data structure for the representation of a 2D vector.
void MulMatScalar(const Mat2d &matrix, float scalar, Mat2d &result)
void SubtractFromVec(Vec2d &vec, const Vec2d &vectorToSubtract)
CDynamicArrayTemplate< Vec2d > CVec2dArray
Data structure for the representation of a 3x3 matrix.
float SquaredLength(const Vec2d &vec)