0_0_26789353_1958.cpp: In function 'int getLineCircleIntersection(const Line&, const Circle&, std::vector<Point>&)':
0_0_26789353_1958.cpp:85:33: error: passing 'const Line' as 'this' argument of 'Point Line::point(double)' discards qualifiers [-fpermissive]
sol.push_back(L.point(t1));
^
0_0_26789353_1958.cpp:89:55: error: passing 'const Line' as 'this' argument of 'Point Line::point(double)' discards qualifiers [-fpermissive]
t1=(-f-sqrt(delta))/(2*e);sol.push_back(L.point(t1));
^
0_0_26789353_1958.cpp:90:55: error: passing 'const Line' as 'this' argument of 'Point Line::point(double)' discards qualifiers [-fpermissive]
t2=(-f+sqrt(delta))/(2*e);sol.push_back(L.point(t2));
^
|