mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
#1153 option to preprocess shape into sets of profile edges
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user