25 matrix_((Eigen::Matrix3d() <<
33 matrix_((Eigen::Matrix3d() <<
34 vec[0], vec[1]*.5, vec[3]*.5,
35 vec[1]*.5, vec[2], vec[4]*.5,
36 vec[3]*.5, vec[4]*.5, vec[5]
41 std::vector<double> vec {{
56 const auto & t = m.transpose();
57 Eigen::Matrix3d ret = t *
matrix_ * m;
70 mat << std::cos(angle) , std::sin(angle) , 0,
71 -std::sin(angle) , std::cos(angle) , 0,
82 mat << 1 , 0 , -v.
x(),
Equation & operator=(const Equation qm)
const Eigen::Matrix3d Matrix() const
Matrix Returns matrix of equation.
double x() const
Returns x of Coordinate.
const std::vector< double > Coefficients() const
Coefficients of the equation.
double y() const
Returns y of Coordinate.
const Equation flipXY() const
flipXY Flips the matrix values
static Eigen::Matrix3d translateMatrix(const geo::Coordinate &v)
translateMatrix Translates the matrix by some coordinate value
const Equation move(const geo::Coordinate &v) const
move the quadratic equation by value V
static Eigen::Matrix3d rotationMatrix(double angle)
rotationMatrix Rotates the matrix by an angle
const Equation rotate(double angle) const
rotate the quadratic equation by value V