80 std::list<POLYGONTREETYPE*>& list_of_simple_polygon_hierarchies)
82 for (
auto it0 = list_of_simple_polygon_hierarchies.begin();
83 it0 != list_of_simple_polygon_hierarchies.end();
86 auto it1 = list_of_simple_polygon_hierarchies.begin();
87 while (it1 != list_of_simple_polygon_hierarchies.end())
93 if (it1 == list_of_simple_polygon_hierarchies.end())
98 if ((*it0)->isPolygonInside(*it1))
100 (*it0)->insertSimplePolygonTree(*it1);
101 it1 = list_of_simple_polygon_hierarchies.erase(it1);