tumcms / Open-Infra-Platform

This is the official repository of the open-source Open Infra Platform software (as of April 2020).
Other
48 stars 22 forks source link

[REF] CurveConverter::convertIfcLoop and subfunctions #528

Open christophKaiser opened 2 years ago

christophKaiser commented 2 years ago

File which is being refactored OpenInfraPlatform::Core::IfcGeometryConverter::CurveConverterT

Functions

The need of refactoring the function convertIfcEdgeLoop came up during the implementation of IfcAdvancedFace. I was surprised that the example files in pull request #462 work, even without the existence of functions like convertIfcOrientedEdge, convertIfcEdgeCurve, or convertIfcVertex. These entities are used in the example files. Probably, they are somehow mixed into the function convertIfcEdgeLoop. With refactoring, the structure of convertIfcEdgeLoop should be cleaned up.