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

The check if a polyline is in a polygon is needed within the SimplePolygonTree.
do you need this check? if one point of a segment is in polyline, s.size() should be one.