VolMesh.halfface_flatness
- VolMesh.halfface_flatness(face, maxdev=0.02)[source]
Compute the flatness of a face.
- Parameters
face (int) – The identifier of the face.
- Returns
float – The flatness.
Note
compas.geometry.mesh_flatness function currently only works for quadrilateral faces. This function uses the distance between each face vertex and its projected point on the best-fit plane of the face as the flatness metric.