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