for (LinearIterator it = new LinearIterator(...); it.hasNext(); it.next()) {
...
int ci = it.getComponentIndex(); // for example
int vi = it.getVertexIndex(); // for example
...
}
true if there are more vertices to scan
true if the iterator is at an endpoint
null is returned.
null