diff options
author | FormerLurker <hochgebe@gmail.com> | 2020-05-02 18:06:40 +0300 |
---|---|---|
committer | FormerLurker <hochgebe@gmail.com> | 2020-05-02 18:06:40 +0300 |
commit | 8d7b572cc7fa7faf795db88a29340b6380090f8f (patch) | |
tree | 5c5b2fb251af89e0c9038be84236c6df85d098fb /GcodeProcessorLib | |
parent | 4fcf89d4995921b89b579d06052df11b66e4879f (diff) |
Add enhanced progress and complete statistics for arc welder. Add ARC_SEGMENTS_PER_SEC to inverse processor.
Diffstat (limited to 'GcodeProcessorLib')
-rw-r--r-- | GcodeProcessorLib/utilities.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GcodeProcessorLib/utilities.h b/GcodeProcessorLib/utilities.h index 2a79d80..a109a98 100644 --- a/GcodeProcessorLib/utilities.h +++ b/GcodeProcessorLib/utilities.h @@ -22,7 +22,6 @@ #pragma once #include <string> - class utilities{ public: static bool is_zero(double x); @@ -32,7 +31,7 @@ public: static bool greater_than_or_equal(double x, double y); static bool less_than(double x, double y); static bool less_than_or_equal(double x, double y); - + // custom tolerance functions static bool is_zero(double x, double tolerance); static bool is_equal(double x, double y, double tolerance); @@ -49,6 +48,7 @@ public: static std::string rtrim(const std::string& s); static std::string trim(const std::string& s); static std::istream& safe_get_line(std::istream& is, std::string& t); + protected: static const std::string WHITESPACE_; private: |