Create a mesh from a number of closed polylines.
A mesh from a closed polyline is straightforward:
- Add polyline vertices to mesh
- add a face with vertex indices 1...n where n is the number of vertices.
Creating a mesh from several polylines could be done in the same way with a secondary procedure to merge duplicate vertices. Duplicates could be merged either before (faster) or after (more flexible) the faces are added.
Create a mesh from a number of closed polylines.
A mesh from a closed polyline is straightforward:
Creating a mesh from several polylines could be done in the same way with a secondary procedure to merge duplicate vertices. Duplicates could be merged either before (faster) or after (more flexible) the faces are added.