Skip to content
Snippets Groups Projects
Commit 561d0f4b authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: adding useful output to the printself of polyline

parent 773cd6db
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,13 @@ namespace otb
::PrintSelf(std::ostream& os, itk::Indent indent) const
{
Superclass::PrintSelf(os, indent);
VertexListConstIteratorType it = this->GetVertexList()->Begin();
while(it != this->GetVertexList()->End())
{
os << it.Value() << " - ";
it++;
}
os << std::endl;
}
} // end namespace otb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment