Adding an AABB tree to EigenMesh3D.

Yet to be used.
This commit is contained in:
tamasmeszaros 2019-01-14 17:28:02 +01:00
parent 6ac54896fa
commit 7fa430c56d
6 changed files with 155 additions and 137 deletions

View file

@ -508,7 +508,7 @@ void SLAPrint::process()
auto support_points = [this, ilh](SLAPrintObject& po) {
const ModelObject& mo = *po.m_model_object;
po.m_supportdata.reset(new SLAPrintObject::SupportData());
po.m_supportdata->emesh = sla::to_eigenmesh(po.transformed_mesh());
po.m_supportdata->emesh = EigenMesh3D(po.transformed_mesh());
BOOST_LOG_TRIVIAL(debug) << "Support point count "
<< mo.sla_support_points.size();