|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.symbology.milstd2525.graphics.lines.ForwardLineOfOwnTroops.PositionIterator
protected static class ForwardLineOfOwnTroops.PositionIterator
Iterator to generate equally spaced positions along a control line.
| Field Summary | |
|---|---|
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
|
| Constructor Summary | |
|---|---|
protected |
ForwardLineOfOwnTroops.PositionIterator(Iterable<? extends Position> positions,
double interval,
Globe globe)
Create a new iterator to compute the positions of a triangle wave. |
| Method Summary | |
|---|---|
boolean |
hasNext()
|
Position |
next()
|
void |
remove()
Not supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Angle interval
protected Position nextControlPosition
protected Iterator<? extends Position> positions
protected Position thisPosition
protected double tolerance
| Constructor Detail |
|---|
protected ForwardLineOfOwnTroops.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.| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<Position>public Position next()
next in interface Iterator<Position>public void remove()
remove in interface Iterator<Position>
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||