![](https://box.kancloud.cn/b5494a9ebba24d49462c2586a1683f15_1121x451.png =230x)
### **MeshDual**
* * * * *
**Description**:
This component computes the dual graph of a mesh.
**Input**:
Mesh: Input a mesh.
withBoundary: Whether you want to create a dual graph with boundary or not.
**Output**:
Polyline: Return a polyline list as a dual graph.
Ngon: Return a ngon list as a dual graph.
**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)
- About Ameba
- User agreement
- Register
- Start a new project
- Start a 2D optimization project
- Start a 3D optimization project
- Function Introduction
- Cloud
- Solver
- Login
- Mesh
- AmebaMesh
- Mesh2D
- Mesh3D
- ReadMesh
- CustomTriangleMesh
- CustomQuadMesh
- Mesh3DFromMesh
- Domain
- PointsDomain
- LinesDomain
- CurvesDomain
- SurfacesDomain
- Ameba2D
- Load2D
- TangentLoad2D
- NormalLoad2D
- NondesignDomain2D
- Support2D
- Ameba3D
- Load3D
- NormalLoad3D
- NondesignDomain3D
- Support3D
- PreProcess
- Symmetry
- Material
- OptParameters
- PreProcessing
- Sensitivity
- MultipleLoadCase
- PostProcess
- Display
- Step
- RenderDisplay
- MeshOpt
- Rebuild2D
- Remesh
- QuadMesh
- TriMesh
- CPMesh
- MeshTools
- ClosetVertex
- CornerFaces
- AdjancentFaces
- Smooth
- Subdivision
- MeshDual
- FillHoles
- MeshChecker
- MeshPipe
- OffsetMesh
- MeshWeld
- Skeleton2D
- Skeleton3D
- CurvatureAnalysis
- Simplification
- Parameterization
- Solver Window
- Error Report and Solution
- Logs