--force-space-transparency option in IfcConvert

This commit is contained in:
Thomas Krijnen
2020-09-27 10:43:11 +02:00
parent 44306b036d
commit f489487a20
2 changed files with 13 additions and 2 deletions
+6 -1
View File
@@ -108,6 +108,7 @@ namespace IfcGeom
/// Note that this is independent of the IFC length unit, one millimeter by default.
double deflection_tolerance() const { return deflection_tolerance_; }
double angular_tolerance() const { return angular_tolerance_; }
double force_space_transparency() const { return force_space_transparency_; }
void set_deflection_tolerance(double value)
{
@@ -124,6 +125,10 @@ namespace IfcGeom
angular_tolerance_ = value;
}
void force_space_transparency(double value) {
force_space_transparency_ = value;
}
/// Get boolean value for a single settings or for a combination of settings.
bool get(SettingField setting) const
{
@@ -149,7 +154,7 @@ namespace IfcGeom
protected:
SettingField settings_;
double deflection_tolerance_, angular_tolerance_;
double deflection_tolerance_, angular_tolerance_, force_space_transparency_;
};
class IFC_GEOM_API ElementSettings : public IteratorSettings