Returns the vertex at the given position (index).
Vector2 vertex(int index) { assert(index >= 0 && index < vertices.length); return vertices[index].clone(); }