wildmeshing / fTetWild

Fast Tetrahedral Meshing in the Wild
https://yixin-hu.github.io/ftetwild.pdf
Mozilla Public License 2.0
425 stars 83 forks source link

Mapping input triangles to output surface triangles #49

Open kermado opened 2 years ago

kermado commented 2 years ago

Hello,

Is it possible to map from input triangles to output surface triangles using either fTetWild or TetWild? In other words, given a face on the input mesh, can I obtain all the corresponding output surface triangles?

Thanks!

Yixin-Hu commented 2 years ago

Hi,

The input faces are not exactly preserved, so there is no direct correspondence between input faces and output surface faces. You could compute the closest (simply use euclidean distance) output surface faces for each input surface face to get the mapping.

Hope this helps.