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

[REQUEST]Implementing corresponding functions for IfcSpline #524

Open Elvira2227 opened 2 years ago

Elvira2227 commented 2 years ago

Is your feature request related to a problem? Please describe. In #478 new unit tests were implemented for version IFC4X3_RC4 . For "bloss", "helmert", "sine", "cosine", "cubic", "viennese bend" curves we need to add corresponing functions to support them.

Describe the solution you'd like The function convertIfcCurveSegment shoul be updated and new overloads for getPointOnCurve and getDirectionOfCurve should be added for:

The function for reading IfcThirdOrderPolynomialSpiral should be added for:

The function for reading IfcSeventhOrderPolynomialSpiral should be added for:

The function for reading IfcSecondOrderPolynomialSpiral should be added for:

The function for reading IfcPolyonmialCurve should be added for:

Additional context For examples of implementation please see #494 and #482

pjanck commented 2 years ago

Great issue description!

A note to the developer: for first-, second-, and so on -orderpolynomial, a common function can be called by all with zeros at the corresponding locations.