Lines Matching refs:circle1
290 Geom::Point adjust_circles( Geom::Circle &circle1, Geom::Circle &circle2, Geom::Point const &point1, Geom::Point const &point2, Geom::Point const &tan1, Geom::Point const &tan2 ) {
292 Geom::Point n1 = (circle1.center() - point1).normalized(); // Always points towards center
296 double r1 = circle1.radius();
299 Geom::Point c1 = circle1.center();
335 circle1 = Geom::Circle( c1 - dr*n1, r1-dr );
338 // std::cout << " C1: " << circle1 << std::endl;
340 // std::cout << " d': " << Geom::Point( circle1.center() - circle2.center() ).length() << std::endl;
342 Geom::Line bisector( circle1.center(), circle2.center() );
343 std::vector<Geom::ShapeIntersection> points = circle1.intersect( bisector );
376 Geom::Circle circle1 = touching_circle(Geom::reverse(incoming.toSBasis()), 0.);
378 // std::cout << " circle1: " << circle1 << std::endl;
382 if( !Geom::are_near( circle1, circle_test1, 0.01 ) ) {
396 Geom::Point center1 = circle1.center();
402 bool inc_ls = !circle1.center().isFinite();
423 if (circle1.radius() < width && distance( circle1.center(), node_on_path ) < width) {
433 points = circle1.intersect(circle2);
447 if( circle2.contains( startPt ) && !circle1.contains( endPt ) ) {
448 // std::cout << "Expand circle1" << std::endl;
449 p = expand_circle( circle1, circle2, startPt, tang1 );
452 } else if( circle1.contains( endPt ) && !circle2.contains( startPt ) ) {
454 p = expand_circle( circle2, circle1, endPt, tang2 );
472 if( ( circle2.contains( startPt ) && !circle1.contains( endPt ) ) ||
473 ( circle1.contains( endPt ) && !circle2.contains( startPt ) ) ) {
475 Geom::Point apex = adjust_circles( circle1, circle2, startPt, endPt, tang1, tang2 );
489 circle1.setRadius(std::numeric_limits<float>::infinity());
490 circle1.setCenter(Geom::Point(0,std::numeric_limits<float>::infinity()));
493 points = circle1.intersect(secant);
509 if( circle1.radius() != std::numeric_limits<float>::infinity() ) {
510 arc1 = circle1.arc(startPt, 0.5*(startPt+sol), sol);
531 points = circle1.intersect(Line(outgoing.initialPoint(), outgoing.finalPoint()));
534 arc1 = circle1.arc(startPt, 0.5*(sol+startPt), sol);
597 points = circle1.intersect(limit_line);
601 arc1 = circle1.arc(startPt, 0.5*(p1+startPt), p1);