If you have the latest BETA version you can do the following:
Code:
pos = line.getVertex(0) #Get raw position of vertex 0
If you want to get the transformed vertex position then you will need to multiply the raw position with the lines transform:
Code:
pos = viz.Vector(line.getVertex(0))
pos = pos * line.getMatrix()
I've just added the ability to pass an optional parameter to
getVertex which will automatically perform this calculation for you. It will be available in the next release.