Searched refs:LineSegment (Results 1 - 25 of 70) sorted by relevance

123

/inkscape/src/2geom/
H A Dgeom.h47 boost::optional<Geom::LineSegment>
49 Geom::LineSegment ls);
H A Dline.h39 #include <2geom/bezier-curve.h> // for LineSegment
93 explicit Line(LineSegment const &seg)
274 LineSegment* seg = new LineSegment(pointAt(f), pointAt(t));
282 LineSegment segment(Coord f, Coord t) const {
283 return LineSegment(pointAt(f), pointAt(t));
287 boost::optional<LineSegment> clip(Rect const &r) const;
371 std::vector<ShapeIntersection> intersect(LineSegment const &ls) const;
464 double distance(Point const &p, LineSegment const &seg)
471 bool are_near(Point const &p, LineSegment cons
[all...]
H A Dellipse.h163 LineSegment majorAxis() const { return ray(X) >= ray(Y) ? axis(X) : axis(Y); }
164 LineSegment minorAxis() const { return ray(X) < ray(Y) ? axis(X) : axis(Y); }
165 LineSegment semimajorAxis(int sign = 1) const {
168 LineSegment semiminorAxis(int sign = 1) const {
171 LineSegment axis(Dim2 d) const;
172 LineSegment semiaxis(Dim2 d, int sign = 1) const;
203 std::vector<ShapeIntersection> intersect(LineSegment const &seg) const;
H A Dline.cpp150 boost::optional<LineSegment> Line::clip(Rect const &r) const
165 return LineSegment(a, b);
167 return LineSegment(b, a);
183 LineSegment result(r.clamp(p1), r.clamp(p2));
214 return LineSegment(p0, p1); */
276 std::vector<ShapeIntersection> Line::intersect(LineSegment const &ls) const
357 OptCrossing intersection_impl( LineSegment const& ls1,
389 OptCrossing intersection_impl( LineSegment const& ls1,
498 OptCrossing intersection( LineSegment const& ls1, LineSegment cons
[all...]
H A Dray.h36 #include <2geom/bezier-curve.h> // for LineSegment
115 return new LineSegment(pointAt(f), pointAt(t));
117 LineSegment segment(Coord f, Coord t) const {
118 return LineSegment(pointAt(f), pointAt(t));
H A Dgeom.cpp334 boost::optional<LineSegment>
336 Geom::LineSegment ls)
342 return LineSegment(results[0], results[1]);
344 return boost::optional<LineSegment>();
347 boost::optional<LineSegment>
H A Dcircle.h99 bool intersects(LineSegment const &l) const;
103 std::vector<ShapeIntersection> intersect(LineSegment const &other) const;
H A Dforward.h76 typedef BezierCurveN<1> LineSegment; typedef in namespace:Geom
H A Delliptical-arc.h250 LineSegment chord() const { return LineSegment(_initial_point, _final_point); }
/inkscape/src/live_effects/
H A Dlpe-bounding-box.cpp44 p.appendNew<Geom::LineSegment>(Geom::Point(bbox->right(), bbox->top()));
45 p.appendNew<Geom::LineSegment>(Geom::Point(bbox->right(), bbox->bottom()));
46 p.appendNew<Geom::LineSegment>(Geom::Point(bbox->left(), bbox->bottom()));
47 p.appendNew<Geom::LineSegment>(Geom::Point(bbox->left(), bbox->top()));
H A Dlpe-line_segment.cpp60 boost::optional<Geom::LineSegment> intersection_segment = Geom::Line(A, B).clip(dummyRect);
76 path.appendNew<Geom::LineSegment>(B);
H A Dlpe-constructgrid.cpp62 first_path.appendNew<LineSegment>( origin + first_p*nr_y );
64 second_path.appendNew<LineSegment>( origin + second_p*nr_x );
H A Dlpe-fill-between-strokes.cpp60 result_linked_pathv.front().appendNew<Geom::LineSegment>(result_second_pathv.front().finalPoint());
65 result_linked_pathv.front().appendNew<Geom::LineSegment>(result_second_pathv.front().initialPoint());
H A Dlpe-fill-between-many.cpp52 res_pathv.front().appendNew<Geom::LineSegment>(linked_path.initialPoint());
H A Dlpe-envelope.cpp242 path1.appendNew<Geom::LineSegment>( Up_Right );
247 path2.appendNew<Geom::LineSegment>( Down_Right );
252 path3.appendNew<Geom::LineSegment>( Down_Right );
257 path4.appendNew<Geom::LineSegment>( Down_Left );
H A Dlpe-powerstroke.cpp659 fixed_path.appendNew<LineSegment>(midpoint);
660 fixed_path.appendNew<LineSegment>(mirrorpath.firstValue());
667 fixed_path.appendNew<LineSegment>( pwd2_out.lastValue() + radius*end_deriv );
668 fixed_path.appendNew<LineSegment>( mirrorpath.firstValue() + radius*end_deriv );
669 fixed_path.appendNew<LineSegment>( mirrorpath.firstValue() );
674 fixed_path.appendNew<LineSegment>( mirrorpath.firstValue() );
697 fixed_path.appendNew<LineSegment>( midpoint );
698 fixed_path.appendNew<LineSegment>( pwd2_out.firstValue() );
705 fixed_path.appendNew<LineSegment>( mirrorpath.lastValue() - radius*start_deriv );
706 fixed_path.appendNew<LineSegment>( pwd2_ou
[all...]
H A Dspiro-converters.cpp93 _path.appendNew<Geom::LineSegment>( Geom::Point(x, y) );
/inkscape/src/helper/
H A Dgeom-curves.h23 if( dynamic_cast<Geom::LineSegment const*>(&c) )
H A Dgeom-pathstroke.cpp137 jd.res.appendNew<Geom::LineSegment>(jd.outgoing.initialPoint());
174 res.appendNew<LineSegment>(p);
190 res.appendNew<LineSegment>(p1);
192 res.appendNew<LineSegment>(p2);
196 res.appendNew<LineSegment>(outgoing.initialPoint());
246 Geom::LineSegment chord1(chord1_pts[0].point(), chord1_pts[1].point());
251 Geom::LineSegment chord2(chord2_pts[0].point(), chord2_pts[1].point());
275 Geom::LineSegment chord4(start_pt,p);
409 Geom::LineSegment *seg1 = NULL;
410 Geom::LineSegment *seg
[all...]
/inkscape/src/svg/
H A Dsvg-path-geom-test.h47 rectanglepvopen.back().append(Geom::LineSegment(Geom::Point(1,2),Geom::Point(4,2)));
48 rectanglepvopen.back().append(Geom::LineSegment(Geom::Point(4,2),Geom::Point(4,8)));
49 rectanglepvopen.back().append(Geom::LineSegment(Geom::Point(4,8),Geom::Point(1,8)));
50 rectanglepvopen.back().append(Geom::LineSegment(Geom::Point(1,8),Geom::Point(1,2)));
52 rectanglepvclosed.back().append(Geom::LineSegment(Geom::Point(1,2),Geom::Point(4,2)));
53 rectanglepvclosed.back().append(Geom::LineSegment(Geom::Point(4,2),Geom::Point(4,8)));
54 rectanglepvclosed.back().append(Geom::LineSegment(Geom::Point(4,8),Geom::Point(1,8)));
57 rectanglepvclosed2.back().append(Geom::LineSegment(Geom::Point(1,2),Geom::Point(4,2)));
58 rectanglepvclosed2.back().append(Geom::LineSegment(Geom::Point(4,2),Geom::Point(4,8)));
59 rectanglepvclosed2.back().append(Geom::LineSegment(Geo
[all...]
H A Dsvg-path.cpp64 if(Geom::LineSegment const *line_segment = dynamic_cast<Geom::LineSegment const *>(c)) {
/inkscape/src/
H A Dsnapped-line.h29 Geom::LineSegment getLineSegment() const {return Geom::LineSegment(_start_point_of_line, _end_point_of_line);}
/inkscape/src/display/
H A Dcurve-test.h19 path1.append(Geom::LineSegment(Geom::Point(0,0),Geom::Point(1,0)));
20 path1.append(Geom::LineSegment(Geom::Point(1,0),Geom::Point(1,1)));
23 path2.append(Geom::LineSegment(Geom::Point(2,0),Geom::Point(3,0)));
29 path3.append(Geom::LineSegment(Geom::Point(5,1),Geom::Point(5,2)));
30 path3.append(Geom::LineSegment(Geom::Point(6,4),Geom::Point(2,4)));
/inkscape/src/libavoid/
H A Dorthogonal.cpp609 class LineSegment class in namespace:Avoid
612 LineSegment(const double& b, const double& f, const double& p, function in class:Avoid::LineSegment
631 LineSegment(const double& bf, const double& p, VertInf *bfvi = NULL)
644 bool operator<(const LineSegment& rhs) const
662 bool overlaps(const LineSegment& rhs) const
683 void mergeVertInfs(const LineSegment& segment)
801 LineSegment& vertLine)
831 void insertBreakpointsBegin(Router *router, LineSegment& vertLine)
856 void insertBreakpointsFinish(Router *router, LineSegment& vertLine)
1012 LineSegment
[all...]
/inkscape/src/libdepixelize/priv/
H A Dsplines-kopf2011.h41 typedef Geom::LineSegment Line;
128 .appendNew<Geom::LineSegment>(Geom::Point(it2->x, it2->y));

Completed in 72 milliseconds

123