![](https://secure.gravatar.com/avatar/c8e0c8203cc2517ab026dde607671629.jpg?s=120&d=mm&r=g)
Hello Matthias, thanks for the bug report. The problem should be fixed in the "EigenDecimation" branch. Could you check if this resolves your problem? Kind regards, Max On 19.12.19 11:50, Matthias Hackel wrote:
Hello OpenMesh Team, Thanks for developing OpenMesh and all of its features ! We got a problem when we try to switch to Eigen::vector3d as data type, specifiing the mesh as desribed in https://www.openmesh.org/media/Documentations/OpenMesh-Doc-Latest/a04077.htm... always leads to an Error
C2440 '<function-style-cast>': cannot convert from 'const Eigen::Matrix<double,3,1,0,3,1>' to 'OpenMesh::NormalConeT<double>' (compiling source file include\OpenMesh\Tools\Decimater\ModNormalDeviationT.hh 224
Line 224 of ModNormalDeviationT.hh
merge(NormalCone(mesh_.normal(*vf_it)));
there a Eigen::Vector3d can not be converted to a scalar. When i switch back from Eigen representaion, everything works. We are using Visual Studio 2017 an OpenMesh 8.0. Thanks and best regards, Matthias Hackel
_______________________________________________ OpenMesh mailing list -- openmesh@lists.rwth-aachen.de To unsubscribe send an email to openmesh-leave@lists.rwth-aachen.de https://lists.rwth-aachen.de/postorius/lists/openmesh.lists.rwth-aachen.de
-- Max Lyon, M.Sc. Department of Computer Sciences 8 RWTH Aachen University Ahornstrasse 55, 52074 Aachen, Germany