mymesh.utils.BaryTet#
- mymesh.utils.BaryTet(Nodes, Pt)[source]#
Returns the bary centric coordinates of a point (Pt) relative to a tetrahedron (Nodes)
- Parameters:
Nodes (list) – List of coordinates of the tetrahedral vertices.
Pt (list) – Coordinates of the point.
- Returns:
alpha (float) – First barycentric coordinate.
beta (float) – Second barycentric coordinate.
gamma (float) – Third barycentric coordinate.
delta (float) – Fourth barycentric coordinate.