mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 23:20:56 +00:00
ifcgeom: Reorder the members in constructors to avoid side effects (Wreorder)
This commit is contained in:
committed by
Thomas Krijnen
parent
eee693dfcb
commit
31e7bad056
@@ -255,13 +255,13 @@ public:
|
|||||||
, ifc_planeangle_unit(-1.0)
|
, ifc_planeangle_unit(-1.0)
|
||||||
, modelling_precision(0.00001)
|
, modelling_precision(0.00001)
|
||||||
, dimensionality(1.)
|
, dimensionality(1.)
|
||||||
, placement_rel_to(nullptr)
|
|
||||||
, faceset_helper_(nullptr)
|
|
||||||
, layerset_first(-1.)
|
, layerset_first(-1.)
|
||||||
, disable_boolean_result(-1.)
|
|
||||||
, no_wire_intersection_check(-1)
|
, no_wire_intersection_check(-1)
|
||||||
, no_wire_intersection_tolerance(-1)
|
, no_wire_intersection_tolerance(-1)
|
||||||
, precision_factor(10.)
|
, precision_factor(10.)
|
||||||
|
, placement_rel_to(nullptr)
|
||||||
|
, faceset_helper_(nullptr)
|
||||||
|
, disable_boolean_result(-1.)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
MAKE_TYPE_NAME(Kernel)(const MAKE_TYPE_NAME(Kernel)& other)
|
MAKE_TYPE_NAME(Kernel)(const MAKE_TYPE_NAME(Kernel)& other)
|
||||||
@@ -272,10 +272,10 @@ public:
|
|||||||
, ifc_planeangle_unit(other.ifc_planeangle_unit)
|
, ifc_planeangle_unit(other.ifc_planeangle_unit)
|
||||||
, modelling_precision(other.modelling_precision)
|
, modelling_precision(other.modelling_precision)
|
||||||
, dimensionality(other.dimensionality)
|
, dimensionality(other.dimensionality)
|
||||||
, placement_rel_to(other.placement_rel_to)
|
|
||||||
// @nb faceset_helper_ always initialized to 0
|
// @nb faceset_helper_ always initialized to 0
|
||||||
, faceset_helper_(nullptr)
|
|
||||||
, layerset_first(other.layerset_first)
|
, layerset_first(other.layerset_first)
|
||||||
|
, placement_rel_to(other.placement_rel_to)
|
||||||
|
, faceset_helper_(nullptr)
|
||||||
, disable_boolean_result(other.disable_boolean_result)
|
, disable_boolean_result(other.disable_boolean_result)
|
||||||
|
|
||||||
, offset(other.offset)
|
, offset(other.offset)
|
||||||
|
|||||||
Reference in New Issue
Block a user