mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-27 20:04:29 +03:00
Rewritten the medial axis algorithm, now more robust (don't just prune MAT from endpoints, but validate all single edges)
This commit is contained in:
@@ -36,8 +36,10 @@ class Polyline : public MultiPoint {
|
||||
class ThickPolyline : public Polyline {
|
||||
public:
|
||||
std::vector<coordf_t> width;
|
||||
std::vector<bool> endpoints;
|
||||
std::pair<bool,bool> endpoints;
|
||||
ThickPolyline() : endpoints(std::make_pair(false, false)) {};
|
||||
ThickLines thicklines() const;
|
||||
void reverse();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user