Searched refs:Line (Results 1 - 25 of 47) sorted by relevance

12

/inkscape/src/2geom/
H A Dline.h51 class Line class in namespace:Geom
52 : boost::equality_comparable< Line >
62 Line() function in class:Geom::Line
68 Line(Point const &origin, Coord angle) function in class:Geom::Line
81 Line(Point const &a, Point const &b) function in class:Geom::Line
87 @see Line::setCoefficients() */
88 Line(double a, double b, double c) { function in class:Geom::Line
93 explicit Line(LineSegment const &seg) function in class:Geom::Line
99 explicit Line(Ray const &r) function in class:Geom::Line
105 static Line from_normal_distanc
[all...]
H A Dline.cpp2 * Infinite Straight Line
39 * @class Line
61 void Line::setCoefficients (Coord a, Coord b, Coord c)
104 void Line::coefficients(Coord &a, Coord &b, Coord &c) const
119 std::vector<Coord> Line::coefficients() const
130 std::vector<Coord> Line::roots(Coord v, Dim2 d) const {
139 Coord Line::root(Coord v, Dim2 d) const
150 boost::optional<LineSegment> Line::clip(Rect const &r) const
222 Coord Line::timeAt(Point const &p) const
243 Affine Line
[all...]
H A Dconicsec.h193 xAx (const Point & _focus, const Line & _directrix, double _eccentricity)
203 xAx (const Line& l1, const Line& l2)
233 void set (const Point & _focus, const Line & _directrix, double _eccentricity);
235 void set (const Line& l1, const Line& l2);
241 static xAx fromLine(Line l);
274 std::vector<double> roots(Line const &l) const;
390 Line tangent (const Point & _point) const
396 return Line(lin
[all...]
H A Dconic_section_clipper_impl.h172 Line bl = make_bisector_line (LineSegment (P, Q));
206 Line l1 = cs.tangent (P);
207 Line l2 = cs.tangent (Q);
208 Line l;
H A Dconicsec.cpp46 LineSegment intersection(Line l, Rect r) {
117 Line Line0 = Line::from_origin_and_vector(P0, dP0);
118 Line Line2 = Line::from_origin_and_vector(P2, dP2);
279 Line L0 = Line::from_origin_and_vector(B0, rot90(n0));
280 Line L1 = Line::from_origin_and_vector(B0, rot90(n1));
330 Line L
[all...]
H A Dcircle.h98 bool intersects(Line const &l) const;
102 std::vector<ShapeIntersection> intersect(Line const &other) const;
H A Dforward.h45 class Line;
H A Dellipse.cpp376 return asin(Line(axis(X)).timeAt(p));
378 return acos(Line(axis(Y)).timeAt(p));
401 std::vector<ShapeIntersection> Ellipse::intersect(Line const &line) const
458 std::vector<ShapeIntersection> result = intersect(Line(seg));
539 Line lines[2];
548 lines[0] = Line(1, q, alpha);
549 lines[1] = Line(1, s, beta);
557 lines[0] = Line(q, 1, alpha);
558 lines[1] = Line(s, 1, beta);
560 lines[0] = Line(e
[all...]
H A Dcircle.cpp144 bool Circle::intersects(Line const &l) const
163 std::vector<ShapeIntersection> Circle::intersect(Line const &l) const
200 std::vector<ShapeIntersection> result = intersect(Line(l));
/inkscape/src/
H A Dperspective-line.h21 class PerspectiveLine : public Box3D::Line {
H A Dline-geometry.h26 class Line { class in namespace:Box3D
28 Line(Geom::Point const &start, Geom::Point const &vec, bool is_endpoint = true);
29 Line(Line const &line);
30 virtual ~Line() {}
31 Line &operator=(Line const &line);
32 virtual boost::optional<Geom::Point> intersect(Line const &line);
37 friend inline std::ostream &operator<< (std::ostream &out_file, const Line &in_line);
81 /** A function to print out the Line
[all...]
H A Dline-geometry.cpp31 Line::Line(Geom::Point const &start, Geom::Point const &vec, bool is_endpoint): function in class:Box3D::Line
42 Line::Line(Line const &line): function in class:Box3D::Line
50 Line &Line::operator=(Line const &line) {
59 boost::optional<Geom::Point> Line::intersect(Line cons
[all...]
H A Dperspective-line.cpp18 Line (pt, persp3d_get_VP(persp, axis).affine(), true)
H A Dsnapped-line.h50 Geom::Line getLine() const {return Geom::Line(_point_on_line, _point_on_line + Geom::rot90(_normal_to_line));}
H A Dline-snapper.cpp43 Geom::Point const p_proj = Geom::projection(p.getPoint(), Geom::Line(p1, p2));
76 Geom::Point const origin_proj = Geom::projection(origin, Geom::Line(p1, p2));
110 Geom::Line gridguide_line(i->second, i->second + Geom::rot90(i->first));
135 Geom::Line constraint_line(point_on_line, point_on_line + c.getDirection());
H A Dsnapper.h81 SnapConstraint(Geom::Line const &l) : _point(l.origin()), _direction(l.versor()), _radius(0), _type(LINE) {}
123 return Geom::projection(p, Geom::Line(p1_on_cl, p2_on_cl));
H A Dconn-avoid-ref.cpp296 Geom::Line hull_edge(hull[-1], hull[0]);
297 Geom::Line prev_parallel_hull_edge;
304 Geom::Line parallel_hull_edge;
/inkscape/src/helper/
H A Dgeom-curves.h31 Geom::Line line(curve->initialPoint(), curve->finalPoint());
H A Dgeom-pathstroke.cpp179 Point bisector_versor = Line(point_on_path, p).versor();
243 Geom::Line secant1(start_pt, start_pt + start_tangent);
248 Geom::Line bisector = make_bisector_line( chord1 );
258 Geom::Line da(d,start_pt);
276 Geom::Line bisector2 = make_bisector_line( chord4 );
277 Geom::Line diameter = make_parallel_line( start_pt, bisector );
342 Geom::Line bisector( circle1.center(), circle2.center() );
487 Geom::Line secant(startPt, startPt + tang1);
492 Geom::Line secant(endPt, endPt + tang2);
521 // Line an
[all...]
/inkscape/src/live_effects/
H A Dlpe-perspective-envelope.h45 virtual void vertical(PointParam &paramA,PointParam &paramB, Geom::Line vert);
47 virtual void horizontal(PointParam &paramA,PointParam &paramB,Geom::Line horiz);
H A Dlpe-lattice2.h50 virtual void vertical(PointParam &paramA,PointParam &paramB, Geom::Line vert);
52 virtual void horizontal(PointParam &paramA,PointParam &paramB,Geom::Line horiz);
H A Dlpe-line_segment.cpp60 boost::optional<Geom::LineSegment> intersection_segment = Geom::Line(A, B).clip(dummyRect);
H A Dlpe-mirror_symmetry.h64 Geom::Line line_separation;
H A Dlpe-perspective-envelope.cpp209 Geom::Line* horiz = new Geom::Line();
210 Geom::Line* vert = new Geom::Line();
320 LPEPerspectiveEnvelope::vertical(PointParam &param_one, PointParam &param_two, Geom::Line vert)
341 LPEPerspectiveEnvelope::horizontal(PointParam &param_one, PointParam &param_two, Geom::Line horiz)
365 Geom::Line vert(Geom::Point(boundingbox_X.middle(),boundingbox_Y.max()), Geom::Point(boundingbox_X.middle(), boundingbox_Y.min()));
366 Geom::Line horiz(Geom::Point(boundingbox_X.min(),boundingbox_Y.middle()), Geom::Point(boundingbox_X.max(), boundingbox_Y.middle()));
/inkscape/src/libdepixelize/priv/
H A Dsplines-kopf2011.h41 typedef Geom::LineSegment Line; typedef
69 ret.appendNew<Line>(middle);
77 ret.appendNew<Line>(to_geom_point(*it));
78 ret.appendNew<Line>(to_geom_point(middle));

Completed in 90 milliseconds

12