artem-ogre / CDT

Constrained Delaunay Triangulation (C++)
https://artem-ogre.github.io/CDT/
Mozilla Public License 2.0
947 stars 125 forks source link

Missing inline #144

Closed ldcMasa closed 9 months ago

ldcMasa commented 9 months ago

Hello,

In file CDT_Utils.hpp, the function touchesSuperTriangle should be defined as CDT_INLINE_IF_HEADER_ONLY bool touchesSuperTriangle(const Triangle& t)

Otherwise, it leads to duplicate symbol errors.

artem-ogre commented 9 months ago

Thanks @ldcMasa. I will fix it ASAP.

artem-ogre commented 9 months ago

Fixed and did a new release. Thank you again.

artem-ogre commented 9 months ago

Ah, I rushed the wrong fix first. Could you please verify that the latest master fixes the problem?

ldcMasa commented 9 months ago

Yes, it works fine, thanks.