Searched defs:t1 (Results 1 - 8 of 8) sorted by relevance

/inkscape/src/2geom/
H A Dline.cpp262 Coord t1 = cross(odiff, v2) / cp; local
264 result.push_back(ShapeIntersection(*this, other, t1, t2));
H A Dpiecewise.cpp136 double t1=(*next).first; local
138 assert(t0<t1);
140 if (std::max(idx0,idx1)==levels.size()){ //g([t0,t1]) is above the top level,
142 } else if (idx0 != idx1){ //g([t0,t1]) crosses from level idx0 to idx1,
144 } else if(g((t0+t1)/2) < levels[idx0]) { //g([t0,t1]) is a 'U' under level idx0,
146 } else if(g((t0+t1)/2) > levels[idx0]) { //g([t0,t1]) is a 'bump' over level idx0,
148 } else { //g([t0,t1]) is contained in level idx0!...
H A Drecursive-bezier-intersection.cpp218 void recursively_intersect( OldBezier a, double t0, double t1, int deptha, argument
228 double tmid = (t0+t1)*0.5;
241 recursively_intersect( A[1], tmid, t1, deptha,
249 recursively_intersect( A[1], tmid, t1, deptha,
260 recursively_intersect( A[1], tmid, t1, deptha,
273 recursively_intersect( a, t0, t1, deptha,
277 recursively_intersect( a, t0, t1, deptha,
299 parameters.push_back(std::pair<double, double>(t0 + s * ( t1 - t0 ),
H A Dsbasis-roots.cpp164 double t0=i->min(), t1=i->max(), lo=0., hi=0.; local
171 if (lo>=0 || t<t0 || t>t1) {
172 lo = std::min(a*(1-t0)+b*t0+lo*t0*(1-t0),a*(1-t1)+b*t1+lo*t1*(1-t1));
178 if (hi<=0 || t<t0 || t>t1) {
179 hi = std::max(a*(1-t0)+b*t0+hi*t0*(1-t0),a*(1-t1)+b*t1+hi*t1*(
297 double t0,t1; local
498 double t1=std::max(tb_hi,tb_lo); local
[all...]
H A Dsbasis-geometric.cpp410 double t0=s.cuts[i],t1=s.cuts[i+1]; local
411 if ( are_near(s(t0),s(t1)) ) {
414 D2<SBasis> sub_M = compose(M,Linear(t0,t1));
422 u.push(sub_u,s(t1));
H A Dconicsec.cpp946 double t1 = trace(A); local
956 //std::cout << "t1 = " << t1 << std::endl;
971 discr(0,0) = 4; discr(1,1) = t2; discr(1,0) = t1;
973 //std::cout << "t1 * t1 - 4 * t2 = "
974 // << (t1 * t1 - 4 * t2) << std::endl;
/inkscape/src/live_effects/
H A Dlpe-sketch.cpp243 //- Choose a rdm seg [s0,s1], find corresponding [t0,t1],
244 //- Pick a rdm perturbation delta(s), collect 'piece(t)+delta(s(t))' over [t0,t1] into output.
248 double t1, t0; local
278 t1 = times[0];
282 pwperturb = compose(pwperturb,portion(piecelength,t0,t1));
284 output.concat(portion(piece,t0,t1)+pwperturb);
H A Dlpe-copy_rotate.cpp54 double t1 = (p[X]*(p3[Y] - p1[Y]) + p[Y]*(p1[X] - p3[X]) - p1[X]*p3[Y] + p1[Y]*p3[X]) / denominator; local
56 double s = t1 + t2;
58 return 0 <= t1 && t1 <= 1 && 0 <= t2 && t2 <= 1 && s <= 1;

Completed in 1696 milliseconds