#6803: Update IfcOffsetCurveByDistance to be compitable on Windows with MSVC and C++20

In addition add option to be able to build IfcOpenShell against other C++ standard than C++17
This commit is contained in:
Esteban DUGUEPEROUX
2025-06-13 08:55:58 +02:00
committed by Thomas Krijnen
parent f5a46ffb7c
commit 34676a567e
8 changed files with 8 additions and 3 deletions
@@ -97,9 +97,9 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcOffsetCurveByDistances* inst
double dp = *(*prev)->DistanceAlong()->as<IfcSchema::IfcLengthMeasure>();
#endif
if ((dp < 0.0 || basis_curve_length < dp)
or
||
(dn < 0.0 || basis_curve_length < dn)
or
||
(dn < dp)
)
{