Lines Matching refs:poly
297 Polygon2D poly(4); in Impl_calcSafeParams_clip() local
298 poly[0] = Point2D(0, c0); in Impl_calcSafeParams_clip()
299 poly[1] = Point2D(1.0/3.0, c1); in Impl_calcSafeParams_clip()
300 poly[2] = Point2D(2.0/3.0, c2); in Impl_calcSafeParams_clip()
301 poly[3] = Point2D(1, c3); in Impl_calcSafeParams_clip()
305 return Impl_calcSafeParams( t1, t2, poly, bounds.dMin, bounds.dMax ); in Impl_calcSafeParams_clip()
308 bool bRet( Impl_calcSafeParams( t1, t2, poly, bounds.dMin, bounds.dMax ) ); in Impl_calcSafeParams_clip()
310 Polygon2D convHull( convexHull( poly ) ); in Impl_calcSafeParams_clip()
315 << poly[0].x << "," in Impl_calcSafeParams_clip()
316 << poly[1].x << "," in Impl_calcSafeParams_clip()
317 << poly[2].x << "," in Impl_calcSafeParams_clip()
318 << poly[3].x << ",t),bez(" in Impl_calcSafeParams_clip()
319 << poly[0].y << "," in Impl_calcSafeParams_clip()
320 << poly[1].y << "," in Impl_calcSafeParams_clip()
321 << poly[2].y << "," in Impl_calcSafeParams_clip()
322 << poly[3].y << ",t), " in Impl_calcSafeParams_clip()
331 for( k=0; k<poly.size(); ++k ) in Impl_calcSafeParams_clip()
333 cout << poly[k].x << " " << poly[k].y << endl; in Impl_calcSafeParams_clip()
335 cout << poly[0].x << " " << poly[0].y << endl; in Impl_calcSafeParams_clip()
1606 Polygon2D poly(4); in main() local
1607 poly[0] = c.p0; in main()
1608 poly[1] = c.p1; in main()
1609 poly[2] = c.p2; in main()
1610 poly[3] = c.p3; in main()
1614 bool bRet( Impl_calcSafeParams( t1, t2, poly, 0, 1 ) ); in main()
1616 Polygon2D convHull( convexHull( poly ) ); in main()
1619 << poly[0].x << "," in main()
1620 << poly[1].x << "," in main()
1621 << poly[2].x << "," in main()
1622 << poly[3].x << ",t),bez(" in main()
1623 << poly[0].y << "," in main()
1624 << poly[1].y << "," in main()
1625 << poly[2].y << "," in main()
1626 << poly[3].y << ",t), " in main()
1655 Polygon2D poly(4); in main() local
1656 poly[0] = c.p0; in main()
1657 poly[1] = c.p1; in main()
1658 poly[2] = c.p2; in main()
1659 poly[3] = c.p3; in main()
1663 Impl_calcSafeParams( t1, t2, poly, 0, 1 ); in main()
1665 Polygon2D convHull( convexHull( poly ) ); in main()
1668 for( k=0; k<poly.size(); ++k ) in main()
1670 cout << poly[k].x << " " << poly[k].y << endl; in main()
1672 cout << poly[0].x << " " << poly[0].y << endl; in main()