m3sh.traits.
dihedral_angles#
- dihedral_angles(mesh, normals=None, degrees=False)#
Dihedral angles.
Dihedral angles for all halfedges of mesh.
- Parameters:
- meshMesh
A polyhedral mesh instance.
- normalsndarray, shape (m, 3), optional
Precomputed faces normals, m denotes the number of faces.
- degreesbool, optional
Convert angles from radians to degrees.
- Returns:
- anglesdict[Halfedge, float]
A dictionary that maps halfedges to the corresponding dihedral angle.
See also