Lines Matching defs:_vertex
732 * _vertex : section conic vertex V
739 void xAx::set (const Point& _vertex, double _angle, double _dist1, double _dist2)
747 Line l(_vertex, _angle);
770 double VxVx = _vertex[X] * _vertex[X];
771 double VxVy = _vertex[X] * _vertex[Y];
772 double VyVy = _vertex[Y] * _vertex[Y];
775 - coeff(3) * _vertex[X] - coeff(4) * _vertex[Y];
776 coeff(3) -= (2 * coeff(0) * _vertex[X] + coeff(1) * _vertex[Y]);
777 coeff(4) -= (2 * coeff(2) * _vertex[Y] + coeff(1) * _vertex[X]);
814 Point C (rx * cosa + _vertex[X], rx * sina + _vertex[Y]);
827 * _vertex: section conic vertex
831 void xAx::set (const Point& _vertex, const Point& _focus1, const Point& _focus2)
833 if (at_infinity(_vertex))
843 Point VF = _focus1 - _vertex;
846 set(_vertex, angle, dist1, infinity());
851 Point VF = _focus2 - _vertex;
854 set(_vertex, angle, dist1, infinity());
857 assert (are_collinear (_vertex, _focus1, _focus2));
858 if (!are_near(_vertex, _focus1))
860 Point VF = _focus1 - _vertex;
861 Line axis(_vertex, _focus1);
864 double dist2 = distance (_vertex, _focus2);
869 set (_vertex, angle, dist1, dist2);
871 else if (!are_near(_vertex, _focus2))
873 Point VF = _focus2 - _vertex;
877 set (_vertex, angle, dist1, dist2);