|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.datatypes.A_Arc.A_ArcIterator
uavsim.datatypes.ArcNavigational.ArcNavigationalIterator
public class ArcNavigational.ArcNavigationalIterator
Defines the iterator over a navigational arc.
| Field Summary |
|---|
| Fields inherited from class uavsim.datatypes.A_Arc.A_ArcIterator |
|---|
_currentAngle, _isCounterclockwise, _isInclusive, _stepAngle, _stepCount, _stepIndex |
| Constructor Summary | |
|---|---|
ArcNavigational.ArcNavigationalIterator(AngleNavigational stepAngle,
boolean isCounterclockwise,
boolean isInclusive)
Creates a navigational angle iterator. |
|
| Method Summary | |
|---|---|
void |
resetToEnd()
Sets the iterator to the end angle. |
void |
resetToStart()
Sets the iterator to the start angle. |
AngleNavigational |
stepToNext()
Moves to the next angle in the forward direction and returns it. |
AngleNavigational |
stepToPrevious()
Moves to the next angle in the backward direction and returns it. |
| Methods inherited from class uavsim.datatypes.A_Arc.A_ArcIterator |
|---|
getStepAngle, hasNext, hasPrevious, isCounterclockwise, isInclusive, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArcNavigational.ArcNavigationalIterator(AngleNavigational stepAngle,
boolean isCounterclockwise,
boolean isInclusive)
stepAngle - - the angle to move for each stepisCounterclockwise - - whether to step counterclockwiseisInclusive - - whether to include the end angle| Method Detail |
|---|
public void resetToEnd()
resetToEnd in class A_Arc.A_ArcIteratorpublic void resetToStart()
resetToStart in class A_Arc.A_ArcIteratorpublic AngleNavigational stepToNext()
stepToNext in class A_Arc.A_ArcIteratorpublic AngleNavigational stepToPrevious()
stepToPrevious in class A_Arc.A_ArcIterator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||