mesh_dual
- compas.datastructures.mesh_dual(mesh, cls=None)[source]
Construct the dual of a mesh.
- Parameters
mesh (
compas.datastructures.Mesh
) – A mesh object.cls (Type[
compas.datastructures.Mesh
], optional) – The type of the dual mesh. Defaults to the type of the provided mesh object.
- Returns
compas.datastructures.Mesh
– The dual mesh object.