Fix error processing IfcCircle/IfcEllipse #5352

This commit is contained in:
Andrej730
2024-09-10 12:15:43 +05:00
parent 5f8fdf233f
commit 6cf9875472
3 changed files with 55 additions and 2 deletions
+7 -1
View File
@@ -34,5 +34,11 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCircle* inst) {
auto c = taxonomy::make<taxonomy::circle>();
c->radius = r;
c->matrix = taxonomy::cast<taxonomy::matrix4>(map(placement));
return c;
auto e = taxonomy::make<taxonomy::edge>();
e->basis = c;
e->start = 0.;
e->end = 2 * boost::math::constants::pi<double>();
return e;
}