Searched refs:cuts (Results 1 - 19 of 19) sorted by relevance

/inkscape/src/2geom/
H A Dpiecewise.h48 * the ’cuts’ between them. These cuts are time values which separate the pieces.
75 std::vector<double> cuts; member in class:Geom::Piecewise
77 //segs[i] stretches from cuts[i] to cuts[i+1].
97 inline void reserve(unsigned i) { segs.reserve(i); cuts.reserve(i + 1); }
107 return valueAt(cuts.front());
110 return valueAt(cuts.back());
122 mult /= cuts[n+1] - cuts[
[all...]
H A Dnearest-time.h113 return nearest_time(p, c, c.cuts[0], c.cuts[c.size()]);
126 return all_nearest_times(p, c, c.cuts[0], c.cuts[c.size()]);
H A Dd2-sbasis.cpp66 Piecewise<SBasis> x = partition(a[0], a[1].cuts), y = partition(a[1], a[0].cuts);
71 ret.cuts.insert(ret.cuts.end(), x.cuts.begin(), x.cuts.end());
80 ret[d].cuts.insert(ret[d].cuts.end(), a.cuts.begin(), a.cuts
[all...]
H A Dpiecewise.cpp39 Piecewise<SBasis> pa = partition(a, b.cuts), pb = partition(b, a.cuts);
42 ret.cuts = pa.cuts;
50 Piecewise<SBasis> pa = partition(a, b.cuts), pb = partition(b, a.cuts);
55 divi.setDomain(Interval(pa.cuts[i],pa.cuts[i+1]));
152 //move idx back from levels f.cuts
236 double a = f.cuts[
[all...]
H A Dsbasis-math.cpp89 Piecewise<SBasis> gg =partition(g,max.cuts);
90 max = partition(max,gg.cuts);
196 sqrtfi.setDomain(Interval(ff.cuts[i],ff.cuts[i+1]));
226 cosfi.setDomain(Interval(f.cuts[i],f.cuts[i+1]));
304 reciprocal_fn.cuts.push_back(a);
314 reciprocal_fn_neg.cuts.push_back(-reciprocal_fn.cuts.back());
318 reciprocal_fn_neg.push_cut(-reciprocal_fn.cuts
[all...]
H A Dsbasis-geometric.cpp141 Linear mapToDom = Linear(M.cuts[i],M.cuts[i+1]);
160 result.cuts.push_back(v.cuts.front());
176 angle.setDomain(Interval(v.cuts[i],v.cuts[i+1]));
308 result.cuts.push_back(VV.cuts.front());
312 unit_seg.setDomain(Interval(VV.cuts[i],VV.cuts[
[all...]
H A Dnearest-time.cpp197 if (from < c.cuts[0] || to > c.cuts[c.size()]) {
249 if (from < c.cuts[0] || to > c.cuts[c.size()]) {
H A Dtoposweep.cpp198 std::vector<boost::shared_ptr<Section> > split_section(boost::shared_ptr<Section> s, PathVector const &ps, std::vector<double> &cuts, Dim2 d) { argument
201 process_splits(cuts, s->f, s->t);
202 if(cuts.size() <= 2) return ret;
204 s->t = cuts[1];
205 s->tp = s->curve.get(ps)(cuts[1]);
208 ret.reserve(cuts.size() - 2);
209 for(int i = cuts.size() - 1; i > 1; i--) ret.push_back(boost::shared_ptr<Section>(new Section(s->curve, cuts[i-1], cuts[i], ps, d)));
/inkscape/src/live_effects/
H A Dlpe-text_label.cpp38 double t = (pwd2_in.cuts.front() + pwd2_in.cuts.back()) / 2;
H A Dlpe-dynastroke.cpp114 right = compose(right,Linear(right.cuts.back(),right.cuts.front()));
213 factor_in.cuts[1]=grow_length;
216 factor_in.cuts[2]=totlength;
225 factor_out.cuts[1] = totlength-fade_length;
227 factor_out.cuts[2] = totlength;
249 hbump.cuts[0]=0;
250 hbump.cuts[1]=fmin(grow_length,totlength*grow_length/(grow_length+fade_length));
251 hbump.cuts[2]=totlength;
264 hbump.cuts[
[all...]
H A Dlpe-interpolate.cpp76 // Make sure both paths have the same number of segments and cuts at the same locations
78 Geom::Piecewise<Geom::D2<Geom::SBasis> > pA = Geom::partition(pwd2_A, pwd2_B.cuts);
79 Geom::Piecewise<Geom::D2<Geom::SBasis> > pB = Geom::partition(pwd2_B, pwd2_A.cuts);
H A Dlpe-envelope.cpp130 double scaling1 = uskeleton1.cuts.back()/boundingbox_X.extent();
135 double scaling2 = uskeleton2.cuts.back()/boundingbox_Y.extent();
140 double scaling3 = uskeleton3.cuts.back()/boundingbox_X.extent();
145 double scaling4 = uskeleton4.cuts.back()/boundingbox_Y.extent();
H A Dlpe-knot.cpp215 std::map < double, unsigned > cuts; local
218 if (cp.i == i) cuts[cp.ti] = k;
219 if (cp.j == i) cuts[cp.tj] = k;
222 for ( std::map < double, unsigned >::iterator m=cuts.begin(); m!=cuts.end(); ++m ){
H A Dlpe-bendpath.cpp132 double scaling = uskeleton.cuts.back()/bboxHorizontal.extent();
H A Dlpe-extrude.cpp57 cusps.push_back(deriv.cuts[i]);
H A Dlpe-rough-hatches.cpp74 result.push_back(f.cuts[0]);
76 //double old_t = f.cuts[0];
79 result.push_back(f.cuts[i]);
80 //old_t = f.cuts[i];
85 result.push_back(f.cuts.back());
307 transformed_pwd2_in.push_cut( transformed_pwd2_in.cuts.back() + 1 );
H A Dlpe-powerstroke.cpp343 double width = y( B.cuts[i] );
/inkscape/src/live_effects/parameter/
H A Dtext.cpp61 double t_reparam = pwd2_reparam.cuts.back() * t;
/inkscape/src/ui/tools/
H A Dlpe-tool.cpp374 double t_reparam = pwd2_reparam.cuts.back() * t;

Completed in 60 milliseconds