wo80 / Triangle

CMake project for Jonathan Shewchuk's Triangle mesh generator.
Other
63 stars 26 forks source link

Quadrilatural meshing #42

Open epsi1on opened 4 years ago

epsi1on commented 4 years ago

Hi, Thanks for this good library, I wanted to ask whether is there any repository or well known method for meshing a 2d region with quadrilaterals instead of triangles?

Thanks

wo80 commented 4 years ago

A while back, I looked at some indirect approaches to quad meshing (indirect = converting a triangular mesh to quads):

Gmsh and MeshKit are open source, but the code is hard to look through. MeshKit is really painful to build (never managed to build on Windows). Gmsh has a SDK with C interface and prebuild binaries, but it's probably overkill if you're just looking for a 2D quad mesher.

I also tried to port the MeshKit algorithm to C# for use with Triangle.NET: QuadMesh-2015-09-10.zip. The code works, but it's somewhat unfinished.