/// An internal structure that holds all the loops discovered, sorted by their lower-left bounding box coordinates.
typedefstd::multiset<LoopInfo>LoopsByBox;
staticvoidAddLoopsForEdge(
Session*polySession,
ModelEdgeMapT&modelEdgeMap,
ModelEdgeMapT::iteratoredgeInfo,
LoopsByBox&loops,
smtk::model::VertexSet&visitedVerts,
std::map<internal::Point,int>&visitedPoints// number of times a point has been encountered (not counting periodic repeat at end of a single-edge loop); used to identify points that must be promoted to model vertices.