91 std::list<POLYGONTREETYPE*>& list_of_simple_polygon_hierarchies)
93 for (
auto it0 = list_of_simple_polygon_hierarchies.begin();
94 it0 != list_of_simple_polygon_hierarchies.end();
97 auto it1 = list_of_simple_polygon_hierarchies.begin();
98 while (it1 != list_of_simple_polygon_hierarchies.end())
104 if (it1 == list_of_simple_polygon_hierarchies.end())
109 if ((*it0)->isPolygonInside(*it1))
111 (*it0)->insertSimplePolygonTree(*it1);
112 it1 = list_of_simple_polygon_hierarchies.erase(it1);