![](https://box.kancloud.cn/b5494a9ebba24d49462c2586a1683f15_1121x451.png =230x) ### **MeshDual** * * * * * **Description**: This component computes the dual graph of the mesh. **Input**: Mesh: Enter a mesh. withBoundary: Whether you want to create a dual graph with boundary or not. **Output**: Polyline: Dual polylines. **Algorithm Details**: Sometimes, we use it for designing building's curtain walls. The edge count of a polygon depends on its center point, which is a vertex from your original mesh. For example, if that vertex's valence is 6 (means this vertex is shared by 6 triangles) , you will get a hexagon though MeshDual. So, if you have a uniform triangular mesh (Every vertex valence is close to 6), you will get many hexagon polylines via this algorithm. However, if you input a quadrilateral mesh, you will get a new set of quadrilateral polylines, which are generated by interconnecting the center points of original quadrilateral mesh faces. ![](https://box.kancloud.cn/47dfb04bf2d52c1fd1028bfb0dc4fbca_1845x711.png =1000x)