[GeoLib] Improved readability of createPolygonTrees().