mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
virtual dtor and profile helper assignment fix
This commit is contained in:
@@ -1344,7 +1344,7 @@ namespace {
|
||||
auto O = boost::get<taxonomy::point3>(p.previous->end).ccomponents().head<3>() + ab * *p.radius * sign;
|
||||
|
||||
auto c = new taxonomy::circle;
|
||||
*c->matrix.components_ = Eigen::Affine3d(Eigen::Translation3d(O)).matrix();
|
||||
c->matrix.components_ = new Eigen::Matrix4d(Eigen::Affine3d(Eigen::Translation3d(O)).matrix());
|
||||
c->radius = *p.radius;
|
||||
e->basis = c;
|
||||
c->orientation.reset(sign == -1.);
|
||||
|
||||
@@ -37,6 +37,8 @@ struct item {
|
||||
virtual void reverse() { throw taxonomy::topology_error(); }
|
||||
|
||||
item(const IfcUtil::IfcBaseClass* instance = nullptr) : instance(instance) {}
|
||||
|
||||
virtual ~item() {}
|
||||
};
|
||||
|
||||
bool less(const item*, const item*);
|
||||
|
||||
Reference in New Issue
Block a user