tumcms / Open-Infra-Platform

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

[BUG] Missing declaration for getPointOnCurve/getDirectionOfCurve #565

Closed Elvira2227 closed 1 year ago

Elvira2227 commented 1 year ago

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.