getvertexsurfaceelement for 2D/3D