trimesh_face_circle

compas.datastructures.trimesh_face_circle(mesh, fkey)[source]

Get data on circumcentre of triangular face.

Parameters:
fkeyint

The face key.

Returns:
tuple[list[float], float, list[float]] | None

The centre coordinates, the radius value and the normal vector of the circle, or None if the face is not a triangle.