Skip to content

[BUG] Missing declaration for getPointOnCurve/getDirectionOfCurve #565

@Elvira2227

Description

@Elvira2227

Describe the bug
The part of the function declaration is missing. This bug corresponds to functions getPointOnCurve and getDirectionOfCurve for the entities:

template <>
carve::geom::vector<3> getPointOnCurve(const EXPRESSReference<typename IfcEntityTypesT::IfcThirdOrderPolynomialSpiral>& thirdOrderPolynomial,
const typename IfcEntityTypesT::IfcParameterValue& parameter) const noexcept(false)
{
 return getPointOnCurve(thirdOrderPolynomial, parameter * this- >UnitConvert()->getLengthInMeterFactor());
}

Without this part the code never reaches functions getPointOnCurve/getDirectionOfCurve and calculates points with catresianPointList.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'CurveConverter'
  2. Scroll down to the line 2755
  3. See declarations

Expected behavior
When rendering each type of geometry, we should not see the message on the command windows that corresponding geometry is not supported yet.

CMake configuration
If applicable, list any special configurations you have selected in CMake.

  • EARLYBINDING_WITH_IFC4X3_RC4: selected

Metadata

Metadata

Assignees

No one assigned

    Labels

    IFCContent related to Industry Foundation Classes (IFC) functionalitiesbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions