Implements getVertexIndices()