int main(int, char *[])
{
PathType::Pointer path = PathType::New();
path->Initialize();
using ContinuousIndexType = PathType::ContinuousIndexType;
for(unsigned int i = 0; i < 20; ++i)
{
ContinuousIndexType cindex;
cindex[0] = 0;
cindex[1] = i;
path->AddVertex( cindex );
}
const PathType::VertexListType * vertexList = path->GetVertexList ();
for(unsigned int i = 0; i < vertexList->Size(); ++i)
{
std::cout << vertexList->GetElement(i) << std::endl;
}
return EXIT_SUCCESS;
}