mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 11:24:19 +00:00
#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:
committed by
Thomas Krijnen
parent
f5a46ffb7c
commit
34676a567e
@@ -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)
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user