mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 19:27:10 +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 O = boost::get<taxonomy::point3>(p.previous->end).ccomponents().head<3>() + ab * *p.radius * sign;
|
||||||
|
|
||||||
auto c = new taxonomy::circle;
|
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;
|
c->radius = *p.radius;
|
||||||
e->basis = c;
|
e->basis = c;
|
||||||
c->orientation.reset(sign == -1.);
|
c->orientation.reset(sign == -1.);
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ struct item {
|
|||||||
virtual void reverse() { throw taxonomy::topology_error(); }
|
virtual void reverse() { throw taxonomy::topology_error(); }
|
||||||
|
|
||||||
item(const IfcUtil::IfcBaseClass* instance = nullptr) : instance(instance) {}
|
item(const IfcUtil::IfcBaseClass* instance = nullptr) : instance(instance) {}
|
||||||
|
|
||||||
|
virtual ~item() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
bool less(const item*, const item*);
|
bool less(const item*, const item*);
|
||||||
|
|||||||
Reference in New Issue
Block a user