[GeoLib] Corrected implementation of check if Polyline is in Polygon.

The check if a polyline is in a polygon is needed within the SimplePolygonTree.
i mean what happens if the condition at line 160 is not satisfied.