Searched defs:P2 (Results 1 - 3 of 3) sorted by relevance

/inkscape/src/2geom/
H A Dbezier-clipping.cpp128 * Compute the determinant of the 2x2 matrix with column the point P1, P2
130 double det(Point const& P1, Point const& P2) argument
132 return P1[X]*P2[Y] - P1[Y]*P2[X];
136 * Solve the linear system [P1,P2] * P = Q
139 bool solve(Point & P, Point const& P1, Point const& P2, Point const& Q) argument
141 double d = det(P1, P2);
144 P[X] = det(Q, P2) * d;
H A Dconicsec.cpp116 Point P2, Point dP2) {
118 Line Line2 = Line::from_origin_and_vector(P2, dP2);
125 double triarea = boxprod(P0, P1, P2);
129 return RatQuad(P0, 0.5*(P0+P2), P2, 1);
131 double tau0 = boxprod(P, P1, P2)/triarea;
132 double tau1 = boxprod(P0, P, P2)/triarea;
136 return RatQuad(P0, 0.5*(P0+P2), P2, 1);
143 return RatQuad(P0, P1, P2,
114 fromPointsTangents(Point P0, Point dP0, Point P, Point P2, Point dP2) argument
150 circularArc(Point P0, Point P1, Point P2) argument
[all...]
/inkscape/src/libuemf/
H A Dupmf.c861 \param Points Bezier points. Optional starting point, then N sets of 3, example: [P1] (Q12A Q12B P2) (Q23A Q23B P3).
866 If Start is set Elements must be 1 + multiple of 3. Ie, P1 Q12A Q12B P2 Q23A Q23B P3
868 If Start is clear Elements must be a multiple of 3. Ie, (P1, already in path) Q12A Q12B P2 Q23A Q23B P3
977 U_PMF_POINTF P1,P2; local
1017 P2 = U_eparam(a, b, &Center, Ang2, Theta); /* P2 */
1019 Bz[1] = U_qparam(Alpha, a, b, &P2, Ang2, Theta, 2); /* Q2 */
1020 Bz[2] = P2;

Completed in 51 milliseconds