diff options
Diffstat (limited to 'ArcWelder/segmented_arc.h')
-rw-r--r-- | ArcWelder/segmented_arc.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ArcWelder/segmented_arc.h b/ArcWelder/segmented_arc.h index 179d7af..59e92d0 100644 --- a/ArcWelder/segmented_arc.h +++ b/ArcWelder/segmented_arc.h @@ -29,8 +29,6 @@ #include <sstream> #define GCODE_CHAR_BUFFER_SIZE 100 -#define DEFAULT_MAX_RADIUS_MM 1000000.0 // 1km -//#define DEFAULT_MAX_RADIUS_MM 10000.0 // 10M class segmented_arc : public segmented_shape { @@ -51,18 +49,13 @@ public: virtual bool is_shape() const; point pop_front(double e_relative); point pop_back(double e_relative); - bool try_get_arc(arc & target_arc); double get_max_radius() const; - // static gcode buffer private: bool try_add_point_internal_(point p, double pd); - bool does_circle_fit_points_(circle& c) const; - bool does_arc_fit_points(circle& c) const; - bool try_get_arc_(const circle& c, arc& target_arc); - bool is_point_on_arc(const arc& a, const point & p) const; std::string get_shape_gcode_(bool has_e, double e, double f) const; - circle arc_circle_; + //circle arc_circle_; + arc current_arc_; double max_radius_mm_; }; |