mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
revert manual upgrade to edges for ellipses and circles
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user