Find a corresponding point on a transformed Mesh Lets say i have 2 polygons A and B where polygon B has been derived from Polygon A by an unknown(!) transformation matrix:



Now i have a point p that is placed somewhere on the surface of polygon A. How can i find the corresponding point p' on polygon B when i know [a,b,c,d] and [a', b', c', d'] ?
For triangles you can use mathutils.geometry.barycentric_transform:



import mathutils.geometry
pd = mathutils.geometry.barycentric_transform(p, v1, v2, v3, d1, d2, d3)


To test if the point is inside a triangle you can use mathutils.geometry.intersect_point_tri.