#1153 option to preprocess shape into sets of profile edges

This commit is contained in:
Thomas Krijnen
2021-11-20 14:02:12 +01:00
parent 9c9bec9c4e
commit eccf72ee8a
2 changed files with 94 additions and 0 deletions
+11
View File
@@ -165,6 +165,8 @@ protected:
bool emit_building_storeys_;
bool no_css_;
int profile_threshold_;
IfcParse::IfcFile* file;
IfcUtil::IfcBaseEntity* storey_;
std::multimap<drawing_key, path_object, storey_sorter> paths;
@@ -212,6 +214,7 @@ public:
, polygonal_(false)
, emit_building_storeys_(true)
, no_css_(false)
, profile_threshold_(-1)
, file(0)
, storey_(0)
, xcoords_begin(0)
@@ -326,6 +329,14 @@ public:
return subtraction_settings_;
}
void setProfileThreshold(int i) {
profile_threshold_ = i;
}
int getProfileThreshold() const {
return profile_threshold_;
}
protected:
std::string writeMetadata(const drawing_meta& m);
};