mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
Fixes runtime check for polynomial curve
This commit is contained in:
@@ -461,6 +461,7 @@ public:
|
|||||||
auto coeffX = p->CoefficientsX().get_value_or(std::vector<double>());
|
auto coeffX = p->CoefficientsX().get_value_or(std::vector<double>());
|
||||||
auto coeffY = p->CoefficientsY().get_value_or(std::vector<double>());
|
auto coeffY = p->CoefficientsY().get_value_or(std::vector<double>());
|
||||||
auto coeffZ = p->CoefficientsZ().get_value_or(std::vector<double>());
|
auto coeffZ = p->CoefficientsZ().get_value_or(std::vector<double>());
|
||||||
|
if (!coeffZ.empty())
|
||||||
Logger::Warning("Expected IfcPolynomialCurve.CoefficientsZ to be undefined for alignment geometry", p);
|
Logger::Warning("Expected IfcPolynomialCurve.CoefficientsZ to be undefined for alignment geometry", p);
|
||||||
|
|
||||||
auto transformation_matrix = taxonomy::cast<taxonomy::matrix4>(mapping_->map(p->Position()))->ccomponents();
|
auto transformation_matrix = taxonomy::cast<taxonomy::matrix4>(mapping_->map(p->Position()))->ccomponents();
|
||||||
|
|||||||
Reference in New Issue
Block a user