Have a look in the snippet of this post: Retrieve position of face vertex in global frame of reference - #2 by thomthom