To use Tri.h outside MeshLib full path is required in #include.

This needs clarification.
Add Surface::addFace(MeshLib::Face*) using RTTI.
Use Surface::addFace() in convertMeshToGeo.