Searched defs:derivs (Results 1 - 5 of 5) sorted by relevance

/inkscape/src/2geom/
H A Dcurve.cpp155 std::vector<Point> derivs = pointAndDerivatives(t, n); local
156 for (unsigned deriv_n = 1; deriv_n < derivs.size(); deriv_n++) {
157 Coord length = derivs[deriv_n].length();
160 return derivs[deriv_n] / length;
H A Dd2-sbasis.cpp224 std::vector<Point> derivs = a.valueAndDerivatives(t, n); local
225 for (unsigned deriv_n = 1; deriv_n < derivs.size(); deriv_n++) {
226 Coord length = derivs[deriv_n].length();
229 return derivs[deriv_n] / length;
/inkscape/src/live_effects/
H A Dlpe-attach-path.cpp84 std::vector<Geom::Point> derivs = this_pathv.front().front().pointAndDerivatives(0, 3); local
86 for (unsigned deriv_n = 1; deriv_n < derivs.size(); deriv_n++) {
87 Geom::Coord length = derivs[deriv_n].length();
103 Geom::Coord length_2 = derivs[deriv_n_2].length();
110 double startderiv = atan2(derivs[deriv_n].y(), derivs[deriv_n].x());
140 std::vector<Geom::Point> derivs = last_seg_reverse->pointAndDerivatives(0, 3); local
141 for (unsigned deriv_n = 1; deriv_n < derivs.size(); deriv_n++) {
142 Geom::Coord length = derivs[deriv_n].length();
158 Geom::Coord length_2 = derivs[deriv_n_
[all...]
H A Dspiro.cpp489 compute_pderivs(const spiro_seg *s, double ends[2][4], double derivs[4][2][4], argument
506 derivs[j][k][i] = recip_d * (try_ends[k][j] - ends[k][j]);
660 double derivs[4], double x, double y, int j, int jj, int jinc,
675 m[jj].a[joff + k] += y * derivs[k];
711 double derivs[4][2][4];
715 compute_pderivs(&s[i], ends, derivs, jinc);
755 add_mat_line(m, v, derivs[0][0], th - ends[0][0], 1, j, jthl, jinc, nmat);
756 add_mat_line(m, v, derivs[1][0], ends[0][1], -1, j, jk0l, jinc, nmat);
757 add_mat_line(m, v, derivs[2][0], ends[0][2], -1, j, jk1l, jinc, nmat);
758 add_mat_line(m, v, derivs[
[all...]
/inkscape/src/helper/
H A Dgeom-pathstroke.cpp724 std::vector<Geom::Point> derivs = bez.pointAndDerivatives(time, 3); local
726 Geom::Point der1 = derivs[1]; // first deriv (tangent vector)
727 Geom::Point der2 = derivs[2]; // second deriv (tangent's tangent)
737 Geom::Point der3 = derivs.at(3); // try second time

Completed in 401 milliseconds