private class ArcsSet.SubArcsIterator
extends java.lang.Object
implements java.util.Iterator<double[]>
Modifier and Type | Field and Description |
---|---|
private BSPTree<Sphere1D> |
current
Current node.
|
private BSPTree<Sphere1D> |
firstStart
Start of the first arc.
|
private double[] |
pending
Sub-arc no yet returned.
|
Constructor and Description |
---|
SubArcsIterator()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
double[] |
next() |
void |
remove() |
private void |
selectPending()
Walk the tree to select the pending sub-arc.
|
private void selectPending()
public boolean hasNext()
hasNext
in interface java.util.Iterator<double[]>
public double[] next()
next
in interface java.util.Iterator<double[]>
public void remove()
remove
in interface java.util.Iterator<double[]>