mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +00:00
Merge branch 'master' into tridify_ifcgeom_dll
# Conflicts: # cmake/CMakeLists.txt
This commit is contained in:
@@ -1373,7 +1373,6 @@ bool IfcGeom::Kernel::convert_layerset(const IfcSchema::IfcProduct* product, std
|
||||
const IfcSchema::IfcMaterialLayerSet* layerset = usage->ForLayerSet();
|
||||
const bool positive = usage->DirectionSense() == IfcSchema::IfcDirectionSenseEnum::IfcDirectionSense_POSITIVE;
|
||||
double offset = usage->OffsetFromReferenceLine() * getValue(GV_LENGTH_UNIT);
|
||||
const int axis = usage->LayerSetDirection();
|
||||
|
||||
IfcSchema::IfcMaterialLayer::list::ptr material_layers = layerset->MaterialLayers();
|
||||
|
||||
@@ -1730,7 +1729,7 @@ bool IfcGeom::Kernel::fold_layers(const IfcSchema::IfcWall* wall, const IfcRepre
|
||||
|
||||
bool found_intersection = false;
|
||||
boost::optional<gp_Pnt> point_outside_param_range;
|
||||
double param;
|
||||
//double param;
|
||||
|
||||
const Handle_Geom_Surface& surface = *jt;
|
||||
|
||||
@@ -1741,7 +1740,7 @@ bool IfcGeom::Kernel::fold_layers(const IfcSchema::IfcWall* wall, const IfcRepre
|
||||
intersections.Parameters(1, u, v, w);
|
||||
if (w < axis_u1 || w > axis_u2) {
|
||||
point_outside_param_range = p;
|
||||
param = w;
|
||||
//param = w;
|
||||
} else {
|
||||
// Found an intersection. Layer end point is covered by connecting wall
|
||||
found_intersection = true;
|
||||
|
||||
Reference in New Issue
Block a user