mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 03:05:33 +00:00
Option to disable boolean results (sets result to first operand)
This commit is contained in:
@@ -229,6 +229,8 @@ private:
|
||||
const IfcParse::declaration* placement_rel_to;
|
||||
|
||||
faceset_helper* faceset_helper_;
|
||||
double disable_boolean_result;
|
||||
|
||||
gp_Vec offset = gp_Vec{0.0, 0.0, 0.0};
|
||||
gp_Quaternion rotation = gp_Quaternion{};
|
||||
gp_Trsf offset_and_rotation = gp_Trsf();
|
||||
@@ -252,6 +254,8 @@ public:
|
||||
, dimensionality(1.)
|
||||
, placement_rel_to(nullptr)
|
||||
, faceset_helper_(nullptr)
|
||||
, layerset_first(-1.)
|
||||
, disable_boolean_result(-1.)
|
||||
{}
|
||||
|
||||
MAKE_TYPE_NAME(Kernel)(const MAKE_TYPE_NAME(Kernel)& other)
|
||||
@@ -265,6 +269,9 @@ public:
|
||||
, placement_rel_to(other.placement_rel_to)
|
||||
// @nb faceset_helper_ always initialized to 0
|
||||
, faceset_helper_(nullptr)
|
||||
, layerset_first(other.layerset_first)
|
||||
, disable_boolean_result(other.disable_boolean_result)
|
||||
|
||||
, offset(other.offset)
|
||||
, rotation(other.rotation)
|
||||
, offset_and_rotation(other.offset_and_rotation)
|
||||
@@ -279,6 +286,9 @@ public:
|
||||
modelling_precision = other.modelling_precision;
|
||||
dimensionality = other.dimensionality;
|
||||
placement_rel_to = other.placement_rel_to;
|
||||
layerset_first = other.layerset_first;
|
||||
disable_boolean_result = other.disable_boolean_result;
|
||||
|
||||
offset = other.offset;
|
||||
rotation = other.rotation;
|
||||
offset_and_rotation = other.offset_and_rotation;
|
||||
|
||||
Reference in New Issue
Block a user