EGI.face_flatness
- EGI.face_flatness(fkey, maxdev=0.02)
Compute the flatness of the mesh face.
- Parameters
fkey (int) – The identifier of the face.
maxdev (float, optional) – A maximum value for the allowed deviation from flatness.
- Returns
float – The flatness.
Notes
Flatness is computed as the ratio of the distance between the diagonals of the face to the average edge length. A practical limit on this value realted to manufacturing is 0.02 (2%).
Warning
This method only makes sense for quadrilateral faces.