xBimTeam / XbimEssentials

A .NET library to work with data in the IFC format. This is the core component of the Xbim Toolkit
https://xbimteam.github.io/
Other
494 stars 173 forks source link

Fixed IFC4x3 Spiral, Polynomial, Gradient and SegmentedReference curves' dimensionality #582

Closed Ibrahim5aad closed 1 week ago

Ibrahim5aad commented 1 week ago

New Ifc4x3 spiral and polynomial curves had an infinite loop issue when trying to get theie dimensions. Spirals are 2D in nature and polynomial are evaluated according to their position.

Gradient and SegmentedReference curves are 3D despite their 2D segments, they are not merely composition of their "Segments" as Composite curves. The segments provide other dimension of info about the curve; curve height(Z coordinate) in case of gradient curves and super-elevation and tilt/cant orientation in case of segmented reference curves.