Open-Infra-Platform icon indicating copy to clipboard operation
Open-Infra-Platform copied to clipboard

[REQUEST]Implementing corresponding functions for IfcSpline

Open Elvira2227 opened this issue 3 years ago • 1 comments

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:

  • [ ] Sine curve (IfcSine) #553
  • [ ] Cosine curve (IfcCosine)

The function for reading IfcThirdOrderPolynomialSpiral should be added for:

  • [ ] Bloss curve #550

The function for reading IfcSeventhOrderPolynomialSpiral should be added for:

  • [ ] Viennese Bend curve #552

The function for reading IfcSecondOrderPolynomialSpiral should be added for:

  • [ ] Helmert curve #551

The function for reading IfcPolyonmialCurve should be added for:

  • [ ] Cubic curve #539

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

Elvira2227 avatar Feb 08 '22 16:02 Elvira2227

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.

pjanck avatar Feb 15 '22 14:02 pjanck