mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 00:07:53 +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->radius = r;
|
||||||
c->matrix = taxonomy::cast<taxonomy::matrix4>(map(placement));
|
c->matrix = taxonomy::cast<taxonomy::matrix4>(map(placement));
|
||||||
|
|
||||||
auto e = taxonomy::make<taxonomy::edge>();
|
return c;
|
||||||
e->basis = c;
|
|
||||||
e->start = 0.;
|
|
||||||
e->end = 2 * boost::math::constants::pi<double>();
|
|
||||||
|
|
||||||
return e;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,10 +51,5 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcEllipse* inst) {
|
|||||||
el->radius = x;
|
el->radius = x;
|
||||||
el->radius2 = y;
|
el->radius2 = y;
|
||||||
|
|
||||||
auto e = taxonomy::make<taxonomy::edge>();
|
return el;
|
||||||
e->basis = el;
|
|
||||||
e->start = 0.;
|
|
||||||
e->end = 2 * boost::math::constants::pi<double>();
|
|
||||||
|
|
||||||
return e;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user