equal
deleted
inserted
replaced
32 namespace lemon { |
32 namespace lemon { |
33 namespace dim2 { |
33 namespace dim2 { |
34 |
34 |
35 class BezierBase { |
35 class BezierBase { |
36 public: |
36 public: |
37 typedef Point<double> Point; |
37 typedef lemon::dim2::Point<double> Point; |
38 protected: |
38 protected: |
39 static Point conv(Point x,Point y,double t) {return (1-t)*x+t*y;} |
39 static Point conv(Point x,Point y,double t) {return (1-t)*x+t*y;} |
40 }; |
40 }; |
41 |
41 |
42 class Bezier1 : public BezierBase |
42 class Bezier1 : public BezierBase |