ofPolyline added flagHasChanged to getVertices and a const version