#4130 setOnlyValid() option that skips and logs invalid topology

This commit is contained in:
Thomas Krijnen
2024-03-24 16:45:31 +01:00
parent 579c72fc69
commit 22f830b053
4 changed files with 57 additions and 0 deletions
+9
View File
@@ -550,6 +550,7 @@ protected:
bool unify_inputs_;
bool mirror_y_;
bool mirror_x_;
bool only_valid_;
int profile_threshold_;
@@ -717,6 +718,14 @@ public:
return unify_inputs_;
}
void setOnlyValid(bool b) {
only_valid_ = b;
}
bool getOnlyValid(bool b) const {
return only_valid_;
}
void setScale(double s) { scale_ = s; }
void setDrawingCenter(double x, double y) {
center_x_ = x; center_y_ = y;