[Positioning] Result: operator<< displays area
If the result point is in a known area, the area's name is displayed (this changes the output of OutputTerminal).
This commit is contained in:
parent
8295666178
commit
089c8e3f8f
|
@ -99,7 +99,8 @@ std::ostream& operator<<(ostream &os, const Result &r)
|
|||
{
|
||||
os
|
||||
<< "The result of the algorithm " << r.algorithm
|
||||
<< " is: " << r.position ;
|
||||
<< " is: " << r.position
|
||||
<< " (area: « " << r.in_which_area() << " »)" ;
|
||||
if (r.error >= 0)
|
||||
os << ", error = " << r.error << " m" ;
|
||||
return os ;
|
||||
|
|
Loading…
Reference in New Issue