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

The check if a polyline is in a polygon is needed within the SimplePolygonTree.
why not move this function to AnalyticalGeometry in which you defined a similar function `computeAndInsertAllIntersectionPoints()`?