| 153 | // ---------------------------------------------------------------------------------------- |
| 154 | |
| 155 | string point__repr__ (const point& p) |
| 156 | { |
| 157 | std::ostringstream sout; |
| 158 | sout << "point(" << p.x() << ", " << p.y() << ")"; |
| 159 | return sout.str(); |
| 160 | } |
| 161 | |
| 162 | string point__str__(const point& p) |
| 163 | { |