How to get the location of a vertex?