trimesh_face_circle

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

Get data on circumcentre of triangular face.

Parameters

fkey (Key) – The face key.

Returns

  • list – The centre coordinates, the radius value and the normal vector of the circle.

  • None – If the face is not a triangle.