Modifier and Type | Field and Description |
---|---|
protected Angle |
interval
Wavelength, as a geographic angle.
|
protected Position |
nextControlPosition
Position of the next control point.
|
protected Iterator<? extends Position> |
positions
Control positions.
|
protected Position |
thisPosition
Current position.
|
protected double |
tolerance |
Modifier | Constructor and Description |
---|---|
protected |
PositionIterator(Iterable<? extends Position> positions,
double interval,
Globe globe)
Create a new iterator to compute the positions of a triangle wave.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Position |
next() |
void |
remove()
Not supported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected Angle interval
protected Position nextControlPosition
protected Position thisPosition
protected double tolerance
protected PositionIterator(Iterable<? extends Position> positions, double interval, Globe globe)
positions
- Control positions for the triangle wave line.interval
- Generate positions along the control line at this interval.globe
- Globe used to compute geographic positions.