|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.datatypes.A_Arc<AngleNavigational>
uavsim.datatypes.ArcNavigational
public class ArcNavigational
Defines an arc formed by two navigational angles.
| Nested Class Summary | |
|---|---|
class |
ArcNavigational.ArcNavigationalIterator
Defines the iterator over a navigational arc. |
| Nested classes/interfaces inherited from class uavsim.datatypes.A_Arc |
|---|
A_Arc.A_ArcIterator |
| Field Summary |
|---|
| Fields inherited from class uavsim.datatypes.A_Arc |
|---|
_angleEnd, _angleStart |
| Constructor Summary | |
|---|---|
ArcNavigational(AngleNavigational angleStart,
AngleNavigational angleEnd)
Creates an arc with navigational angles. |
|
| Method Summary | |
|---|---|
ArcMathematical |
convertToArcMathematical()
Converts the arc to use mathematical angles. |
double |
getArcLength(boolean isCounterclockwise)
Determines the length of the arc from start to end. |
ArcNavigational.ArcNavigationalIterator |
getIteratorInstance(AngleNavigational step,
boolean isCounterclockwise,
boolean isInclusiveRange)
Generates an iterator. |
ArcNavigational |
getReverse()
Swaps the start and end angles. |
| Methods inherited from class uavsim.datatypes.A_Arc |
|---|
getAngleEnd, getAngleStart, getSubarcLength, getSubdivisionCount, isContained, isStartBeforeEnd, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArcNavigational(AngleNavigational angleStart,
AngleNavigational angleEnd)
angleStart - - the start angleangleEnd - - the end angle| Method Detail |
|---|
public ArcMathematical convertToArcMathematical()
public double getArcLength(boolean isCounterclockwise)
getArcLength in class A_Arc<AngleNavigational>isCounterclockwise - - whether to follow the arc counterclockwise
public ArcNavigational.ArcNavigationalIterator getIteratorInstance(AngleNavigational step,
boolean isCounterclockwise,
boolean isInclusiveRange)
getIteratorInstance in class A_Arc<AngleNavigational>step - - the stepisCounterclockwise - - whether to follow the arc counterclockwiseisInclusiveRange - - whether to include the end angle in the steps
public ArcNavigational getReverse()
getReverse in class A_Arc<AngleNavigational>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||