TetWild icon indicating copy to clipboard operation
TetWild copied to clipboard

Feature request: expose preprocess remeshing

Open alecjacobson opened this issue 6 years ago • 4 comments

Would it be possible to expose the "preprocessing" stage that remeshes the input (collapsing small triangles etc.) to the command line user? This could be very useful in other contexts, too.

(in the meanwhile, which function does this in the code?)

alecjacobson avatar Jun 27 '18 01:06 alecjacobson

I don’t want to expose that, because that function simplifies input within envelop, which may introduce self-intersections. Note that it’s not a real mesh simplification, it’s just a preprocessing.

Yixin-Hu avatar Jun 27 '18 01:06 Yixin-Hu

It’s in class Preprocess.

Yixin-Hu avatar Jun 27 '18 01:06 Yixin-Hu

Could you point me to the function in the code so I could dig it out if I wanted? (race condition :- ) thanks.

alecjacobson avatar Jun 27 '18 01:06 alecjacobson

Line 293 & 330 in Preprocess.cpp are two functions for collapsing and swapping surface edges.

Yixin-Hu avatar Jun 27 '18 01:06 Yixin-Hu