Manual
API Reference
The Blender interpolate module
Calculate barycentric weights for a point on a polygon.
veclist – list of vectors
pt – point :rtype: list of per-vector weights