Lines Matching refs:last_segment

906     Geom::Curve const * last_seg = this->green_curve->last_segment();
959 this->p[1] = this->red_curve->last_segment()->initialPoint() + (1./3.)*(this->red_curve->last_segment()->finalPoint() - this->red_curve->last_segment()->initialPoint());
967 Geom::CubicBezier const *cubic = dynamic_cast<Geom::CubicBezier const *>( this->green_curve->last_segment() );
975 C = this->green_curve->last_segment()->finalPoint() + (1./3.)*(this->green_curve->last_segment()->initialPoint() - this->green_curve->last_segment()->finalPoint());
979 A = this->green_curve->last_segment()->initialPoint();
980 B = this->green_curve->last_segment()->initialPoint();
984 C = this->green_curve->last_segment()->finalPoint() + (1./3.)*(this->green_curve->last_segment()->initialPoint() - this->green_curve->last_segment()->finalPoint());
986 D = this->green_curve->last_segment()->finalPoint();
1023 Geom::CubicBezier const * cubic = dynamic_cast<Geom::CubicBezier const *>( this->green_curve->last_segment() );
1025 A = this->green_curve->last_segment()->initialPoint();
1027 C = this->green_curve->last_segment()->finalPoint();
1031 A = this->green_curve->last_segment()->initialPoint();
1033 C = this->green_curve->last_segment()->finalPoint();
1454 Geom::CubicBezier const * cubic = dynamic_cast<Geom::CubicBezier const*>(&*tmp_curve ->last_segment());
1455 SPCurve *last_segment = new SPCurve();
1456 Geom::Point point_a = tmp_curve ->last_segment()->initialPoint();
1457 Geom::Point point_d = tmp_curve ->last_segment()->finalPoint();
1461 last_segment->moveto(point_a);
1462 last_segment->curveto((*cubic)[1],point_c,point_d);
1464 last_segment->moveto(point_a);
1465 last_segment->curveto(point_a,point_c,point_d);
1468 tmp_curve = last_segment;
1473 tmp_curve ->append_continuous(last_segment, 0.0625);
1486 Geom::CubicBezier const * cubic = dynamic_cast<Geom::CubicBezier const*>(&*tmp_curve ->last_segment());
1488 SPCurve *last_segment = new SPCurve();
1489 last_segment->moveto((*cubic)[0]);
1490 last_segment->curveto((*cubic)[1],(*cubic)[3],(*cubic)[3]);
1492 tmp_curve = last_segment;
1497 tmp_curve ->append_continuous(last_segment, 0.0625);
1532 Geom::CubicBezier const * cubic = dynamic_cast<Geom::CubicBezier const*>(&*tmp_curve ->last_segment());
1537 weight_power->moveto(tmp_curve ->last_segment()->finalPoint());
1538 weight_power->lineto(tmp_curve ->last_segment()->initialPoint());
1541 weight_power->moveto(this->red_curve->last_segment()->initialPoint());
1542 weight_power->lineto(this->red_curve->last_segment()->finalPoint());
1582 SPCurve *last_segment = new SPCurve();
1600 Geom::CubicBezier const * cubic = dynamic_cast<Geom::CubicBezier const*>(&*tmp_curve ->last_segment());
1602 point_c = tmp_curve ->last_segment()->finalPoint() + (1./3)*(tmp_curve ->last_segment()->initialPoint() - tmp_curve ->last_segment()->finalPoint());
1608 last_segment->moveto((*cubic)[0]);
1609 last_segment->curveto((*cubic)[1],point_c,(*cubic)[3]);
1611 last_segment->moveto(tmp_curve ->last_segment()->initialPoint());
1612 last_segment->lineto(tmp_curve ->last_segment()->finalPoint());
1615 tmp_curve = last_segment;
1620 tmp_curve ->append_continuous(last_segment, 0.0625);
1639 SPCurve *last_segment = new SPCurve();
1657 Geom::CubicBezier const * cubic = dynamic_cast<Geom::CubicBezier const*>(&*tmp_curve ->last_segment());
1659 last_segment->moveto((*cubic)[0]);
1660 last_segment->curveto((*cubic)[1],(*cubic)[3],(*cubic)[3]);
1662 last_segment->moveto(tmp_curve ->last_segment()->initialPoint());
1663 last_segment->lineto(tmp_curve ->last_segment()->finalPoint());
1666 tmp_curve = last_segment;
1671 tmp_curve ->append_continuous(last_segment, 0.0625);
1884 if ( this->green_curve->is_empty() || (this->green_curve->last_segment() == NULL) ) {
1907 Geom::Curve const * crv = this->green_curve->last_segment();
1940 Geom::CubicBezier const *cubic = dynamic_cast<Geom::CubicBezier const *>(this->green_curve->last_segment());