VolMesh.face_coordinates

VolMesh.face_coordinates(face, axes='xyz')[source]

Compute the coordinates of the vertices of a face.

Parameters:
faceint

The identifier of the face.

axesstr, optional

The axes alon which to take the coordinates. Should be a combination of x, y, and z.

Returns:
list[list[float]]

The coordinates of the vertices of the face.

See also

face_points(), face_polygon(), face_normal(), face_centroid(), face_center()
face_area(), face_flatness(), face_aspect_ratio()