use Point class instead of double* in GeoLib

This PR changes GeoLib to consistently use Point class for point coordinates (the discussion came from #369).