FGroupTopology::CollectGroupBoundaryVertices

Add all the group boundary vertices of the given GroupID to the Vertices set