Lines Matching defs:P0
114 RatQuad RatQuad::fromPointsTangents(Point P0, Point dP0,
117 Line Line0 = Line::from_origin_and_vector(P0, dP0);
125 double triarea = boxprod(P0, P1, P2);
129 return RatQuad(P0, 0.5*(P0+P2), P2, 1);
132 double tau1 = boxprod(P0, P, P2)/triarea;
133 double tau2 = boxprod(P0, P1, P)/triarea;
136 return RatQuad(P0, 0.5*(P0+P2), P2, 1);
143 return RatQuad(P0, P1, P2, w);
145 return RatQuad(P0, 0.5*(P0+P2), P2, 1);
150 RatQuad RatQuad::circularArc(Point P0, Point P1, Point P2) {
151 return RatQuad(P0, P1, P2, dot(unit_vector(P0 - P1), unit_vector(P0 - P2)));
333 Point P0 = Lx.pointAt(rts[i]);
334 //std::cout << P0 << "\n";
335 Line L = Line::from_origin_and_vector(P0, rot90(g));