6 #include <u3d_point.hpp>
9 typedef std::vector<double> U3dMathDArray;
12 typedef std::vector<U3dMathDArray> U3dMathDMatrix;
27 static void matrix4x4Mul(
const double (&m1)[4][4],
const double (&m2)[4][4],
double (&m3)[4][4],
28 bool tr1 =
false,
bool tr2 =
false);
31 static void matrix2vec4x4Mul(
const double (&m)[4][4],
const double (&u)[4],
double (&v)[4],
35 static void vec2matrix4x4Mul(
const double (&u)[4],
const double (&m)[4][4],
double (&v)[4],
40 static void getLineCoeffs(
double x1,
double y1,
double x2,
double y2,
41 double &k,
double &b);
44 static int solveSquareEq(
double a,
double b,
double c,
double &x1,
double &x2);
50 #endif //__u3d_math_hpp
Definition: u3d_math.hpp:15
static int solveSquareEq(double a, double b, double c, double &x1, double &x2)
static void vec2matrix4x4Mul(const double(&u)[4], const double(&m)[4][4], double(&v)[4], bool tr=false)
static double compositionMul(const U3dPoint &p1, const U3dPoint &p2, const U3dPoint &p3)
Definition: u3d_point.hpp:16
static void matrix2vec4x4Mul(const double(&m)[4][4], const double(&u)[4], double(&v)[4], bool tr=false)
static double scalarMul(const U3dPoint &p1, const U3dPoint &p2)
static void getLineCoeffs(double x1, double y1, double x2, double y2, double &k, double &b)
static double m_d_prec
Definition: u3d_math.hpp:47
static void matrix4x4Mul(const double(&m1)[4][4], const double(&m2)[4][4], double(&m3)[4][4], bool tr1=false, bool tr2=false)