Function to get a point transformed to the reference of the flattened quad
Temporary function to create a debug mesh for unrolled quads