Polished the output operator for a polyline

This commit is contained in:
Dror Atariah 2013-04-09 16:57:18 +02:00
parent 008c3b6169
commit d1e5b422fc
1 changed files with 10 additions and 2 deletions

View File

@ -553,8 +553,16 @@ private:
while (iter != cv.end_segments())
{
os << " " << *iter;
++iter;
if (iter == cv.begin_segments())
{
os << " " << *iter;
++iter;
}
else
{
os << " <-> " << *iter;
++iter;
}
}
return (os);
}