|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.datatypes.A_Arc<AngleMathematical>
uavsim.datatypes.ArcMathematical
public class ArcMathematical
Defines an arc formed by two mathematical angles.
| Nested Class Summary | |
|---|---|
class |
ArcMathematical.ArcMathematicalIterator
Defines the iterator over a mathematical 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 | |
|---|---|
ArcMathematical(AngleMathematical angleStart,
AngleMathematical angleEnd)
Creates an arc with mathematical angles. |
|
| Method Summary | |
|---|---|
ArcNavigational |
convertToArcNavigational()
Converts the arc to use navigational angles. |
double |
getArcLength(boolean isCounterclockwise)
Determines the length of the arc from start to end. |
ArcMathematical.ArcMathematicalIterator |
getIteratorInstance(AngleMathematical step,
boolean isCounterclockwise,
boolean isInclusiveRange)
Generates an iterator. |
ArcMathematical |
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 ArcMathematical(AngleMathematical angleStart,
AngleMathematical angleEnd)
angleStart - - the start angleangleEnd - - the end angle| Method Detail |
|---|
public ArcNavigational convertToArcNavigational()
public double getArcLength(boolean isCounterclockwise)
getArcLength in class A_Arc<AngleMathematical>isCounterclockwise - - whether to follow the arc counterclockwise
public ArcMathematical.ArcMathematicalIterator getIteratorInstance(AngleMathematical step,
boolean isCounterclockwise,
boolean isInclusiveRange)
getIteratorInstance in class A_Arc<AngleMathematical>step - - the stepisCounterclockwise - - whether to follow the arc counterclockwiseisInclusiveRange - - whether to include the end angle in the steps
public ArcMathematical getReverse()
getReverse in class A_Arc<AngleMathematical>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||