meshpro / optimesh

:spider_web: Mesh optimization, mesh smoothing.
575 stars 56 forks source link

constrained boundary mesh #79

Closed ksHamburg closed 3 years ago

ksHamburg commented 3 years ago

Does the optimization technique a triangular planar mesh preserve the boundary mesh and/or some specified interior segements, similar to a constrained delaunay triangulation?

nschloe commented 3 years ago

The boundaries are preserved, yes. Interior points are free to move, but I could add specifying a subset that's fixed.

ksHamburg commented 3 years ago

How can this be done. Could you provide an example? I have triangular meshes with specific interior lines that can not be altered. much like the boundary segement example of shewchuk (https://www.cs.cmu.edu/~quake/triangle.convex.html). Any advice would be appreciated.

nschloe commented 3 years ago

Could you provide an example?

Like I said, It's not implemented yet, so I cannot give an example. If you want to have this quickly, you could dive in the code and PR. Otherwise I'll do it in my spare time at some point. I could move this into my working time if anyone sponsors this.

ksHamburg commented 3 years ago

Thanks for responding again. I did not got the information out of your comment. I will dive into the code myself and see what can be done.