diff options
Diffstat (limited to 'ArcWelder/segmented_shape.h')
-rw-r--r-- | ArcWelder/segmented_shape.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArcWelder/segmented_shape.h b/ArcWelder/segmented_shape.h index 0b617ea..8b014bc 100644 --- a/ArcWelder/segmented_shape.h +++ b/ArcWelder/segmented_shape.h @@ -46,6 +46,7 @@ public: double y; double z; static point get_midpoint(point p1, point p2); + static bool is_near_collinear(const point& p1, const point& p2, const point& p3, double percent_tolerance); }; struct printer_point : point @@ -192,7 +193,6 @@ struct arc : circle double path_tolerance_percent = ARC_LENGTH_PERCENT_TOLERANCE_DEFAULT, bool allow_3d_arcs = DEFAULT_ALLOW_3D_ARCS); }; -double distance_from_segment(segment s, point p); #define DEFAULT_MIN_SEGMENTS 3 #define DEFAULT_MAX_SEGMENTS 50 |