revert manual upgrade to edges for ellipses and circles

This commit is contained in:
Andrej730
2024-09-10 18:26:14 +05:00
parent 6cf9875472
commit 11f017e715
2 changed files with 2 additions and 12 deletions
+1 -6
View File
@@ -35,10 +35,5 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCircle* inst) {
c->radius = r;
c->matrix = taxonomy::cast<taxonomy::matrix4>(map(placement));
auto e = taxonomy::make<taxonomy::edge>();
e->basis = c;
e->start = 0.;
e->end = 2 * boost::math::constants::pi<double>();
return e;
return c;
}
+1 -6
View File
@@ -51,10 +51,5 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcEllipse* inst) {
el->radius = x;
el->radius2 = y;
auto e = taxonomy::make<taxonomy::edge>();
e->basis = el;
e->start = 0.;
e->end = 2 * boost::math::constants::pi<double>();
return e;
return el;
}