2D coordinate of a vertex on a flattened surface

Hi All,
We would like to obtain a mapping between vertex index in STC file (3D)
and its coordinate on a normalised and flattened cortical surface (2D).
Is there a way to do this?

Your help will be much appreciated

Many thanks,

Elisabeth