Lines Matching refs:i
205 for( Polygon2D::size_type i=0; i<convHull.size(); ++i ) in Impl_calcSafeParams() local
210 if( i+1 == convHull.size() ) in Impl_calcSafeParams()
213 p0 = convHull[i]; in Impl_calcSafeParams()
218 p0 = convHull[i]; in Impl_calcSafeParams()
219 p1 = convHull[i+1]; in Impl_calcSafeParams()
846 int i, j, k, l; // variable notation from formulas above and Sederberg article in Impl_calcSafeParams_focus() local
848 for( i=0; i<i_card; ++i ) in Impl_calcSafeParams_focus()
853 for( d=0.0, k=::std::max(0,i-n); k<=k_max && k<=i; ++k ) in Impl_calcSafeParams_focus()
855 l = i - k; // invariant: k + l = i in Impl_calcSafeParams_focus()
862 d += static_cast<double>(fallFac(n,l)*fallFac(n-1,k)*fac(i)) / in Impl_calcSafeParams_focus()
863 static_cast<double>(fac(l)*fac(k) * fallFac(2*n-1,i)) * n * in Impl_calcSafeParams_focus()
870 controlPolygon[ i*j_card + j ] = Point2D( i/(2.0*n-1.0), d ); in Impl_calcSafeParams_focus()
967 for( int i=0; i<recursionLevel; ++i ) cerr << " "; in Impl_applySafeRanges_rec() local
1242 unsigned int i; in clipBezier()
1243 for( i=0; i<results.size(); ++i ) in clipBezier()
1246 Impl_deCasteljauAt( c1_segments[i], c1_part2, c1_remainder, results[i].first ); in clipBezier()
1250 Impl_deCasteljauAt( c2_segments[i], c2_part2, c2_remainder, results[i].second ); in clipBezier()
1253 c1_segments[i] = c1_remainder; in clipBezier()
1254 c2_segments[i] = c2_remainder; in clipBezier()
1283 unsigned int i,j,k; in main() local
1369 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
1372 aTestPoly[0] = someCurves[i].p0; in main()
1373 aTestPoly[1] = someCurves[i].p1; in main()
1374 aTestPoly[2] = someCurves[i].p2; in main()
1375 aTestPoly[3] = someCurves[i].p3; in main()
1390 … << aTestPoly[3].y << ",t), '-' using ($1):($2) title \"convex hull " << i << "\" with lp"; in main()
1392 if( i+1<sizeof(someCurves)/sizeof(Bezier) ) in main()
1397 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
1400 aTestPoly[0] = someCurves[i].p0; in main()
1401 aTestPoly[1] = someCurves[i].p1; in main()
1402 aTestPoly[2] = someCurves[i].p2; in main()
1403 aTestPoly[3] = someCurves[i].p3; in main()
1427 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
1429 Bezier c( someCurves[i] ); in main()
1439 const double t1( 0.1+i/(3.0*sizeof(someCurves)/sizeof(Bezier)) ); in main()
1440 const double t2( 0.9-i/(3.0*sizeof(someCurves)/sizeof(Bezier)) ); in main()
1465 << c1_part1.p3.y+0.01 << ",t) title \"middle " << i << "\", " in main()
1474 << c1_part2.p3.y << ",t) title \"right " << i << "\", " in main()
1483 << c1_part3.p3.y << ",t) title \"left " << i << "\""; in main()
1486 if( i+1<sizeof(someCurves)/sizeof(Bezier) ) in main()
1499 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
1501 Bezier c( someCurves[i] ); in main()
1520 << c.p3.y << ",t) title \"bezier " << i << "\", linex(" in main()
1526 << line.c << ",t) title \"fat line (center) on " << i << "\", linex(" in main()
1532 << line.c-line.dMin << ",t) title \"fat line (min) on " << i << "\", linex(" in main()
1538 << line.c-line.dMax << ",t) title \"fat line (max) on " << i << "\""; in main()
1540 if( i+1<sizeof(someCurves)/sizeof(Bezier) ) in main()
1553 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
1555 Bezier c( someCurves[i] ); in main()
1574 << c.p3.y << ",t) title \"bezier " << i << "\", bez(" in main()
1582 << focus.p3.y << ",t) title \"focus " << i << "\""; in main()
1585 if( i+1<sizeof(someCurves)/sizeof(Bezier) ) in main()
1597 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
1599 Bezier c( someCurves[i] ); in main()
1637 if( i+1<sizeof(someCurves)/sizeof(Bezier) ) in main()
1646 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
1648 Bezier c( someCurves[i] ); in main()
1693 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
1695 for( j=i+1; j<sizeof(someCurves)/sizeof(Bezier); ++j ) in main()
1697 Bezier c1( someCurves[i] ); in main()
1751 if( i+2<sizeof(someCurves)/sizeof(Bezier) ) in main()
1791 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
1793 for( j=i+1; j<sizeof(someCurves)/sizeof(Bezier); ++j ) in main()
1795 Bezier c1( someCurves[i] ); in main()
1909 if( i+2<sizeof(someCurves)/sizeof(Bezier) ) in main()
1959 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
1961 for( j=i+1; j<sizeof(someCurves)/sizeof(Bezier); ++j ) in main()
1963 Bezier c1( someCurves[i] ); in main()
2000 …<< c1.p3.y << ",$1)) title \"bezier " << i << " clipped against " << j << " (t on " << i << ")\", " in main()
2010 … << c2.p3.y << ",$1)) title \"bezier " << i << " clipped against " << j << " (t on " << j << ")\""; in main()
2012 if( i+2<sizeof(someCurves)/sizeof(Bezier) ) in main()
2018 for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i ) in main()
2020 for( j=i+1; j<sizeof(someCurves)/sizeof(Bezier); ++j ) in main()
2023 Bezier c1( someCurves[i] ); in main()