faa.tg.units
Class Azimuth
java.lang.Object
faa.tg.units.AMeasure
faa.tg.units.Angle
faa.tg.units.Azimuth
- All Implemented Interfaces:
- HasText, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<AMeasure>
public class Azimuth
- extends Angle
Azimuth represents a wrapper for Angle. Azimuth
is "The great-circle direction of any place or object
from a given point." -- DUTTON's Navigation and Piloting
Most times Azimuth will be stated in azimuth change pulses (ACP)
Some conversions;
ACP per radian = 2048/PI
ACP per degree = 4096/360
There is a AngleUnits for acp which uses a conversion of PI/2048
See the source: Azimuth.java
- Version:
- $Id: Azimuth.java,v 3.1 2006/03/14 16:00:04 samf Exp $
- Author:
- Michael E. Ross
- See Also:
AUnits,
AMeasure,
Acceleration,
Angle,
Units,
Serialized Form
| Fields inherited from class faa.tg.units.Angle |
D180_DIV_PI, DEG_1, DEG_180, DEG_270, DEG_30, DEG_330, DEG_5, DEG_60, DEG_90, DEG_NEG180, DEG_NEG270, DEG_NEG30, DEG_NEG5, DEG_NEG90, DEG_PER_RAD, NEG_NINETY_DEG, NEG_ONEEIGHTY_DEG, NINETY_DEG, ONEEIGHTY_DEG, PI, PI_DIV_180, PI_DIV_2, PI_DIV_4, PI_MUL_2, PI_MUL_4, RAD_PER_DEG, THIRTY_DEG, THREETHIRTY_DEG, TWOSEVENTY_DEG, ZERO |
| Fields inherited from class faa.tg.units.AMeasure |
DEC0, DEC0_, DEC00, DEC000, DEC1, DEC1_, DEC12, DEC12_, DEC1L, DEC1L_, DEC2, DEC2_, DEC3, DEC3_, DEC4, DEC4_, DEC5, DEC5_, DEC6, DEC6_, DEC7, DEC7_, DEC9, DEC9_, itsValue, TIME_FRACTION |
|
Constructor Summary |
Azimuth(double theValue,
AngleUnits theUnits)
Constructor for the Azimuth class |
|
Method Summary |
double |
as(AngleUnits theUnits)
Override the super as() method. |
| Methods inherited from class faa.tg.units.Angle |
abs, add, aeq, average, cos, diff, eq, ge, gt, isBetween, le, lt, main, parseDmsString, ratio, reciprocalAngle, removeDelimiters, sin, sub, tan, toDmsString, toRadialString, toString, toText |
| Methods inherited from class faa.tg.units.AMeasure |
absoluteValue, add, as, as, clone, compareTo, debug, div, eq, equals, ge, getAUnit, getCanonicalUnit, getCanonicalValue, getInitialUnit, getUnitClass, gt, hashCode, isBetween, le, lt, mul, ratio, sub, toAMeasure, toString, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
CVS_VERSION_ID
public static final java.lang.String CVS_VERSION_ID
- The CVS Version ID
- See Also:
- Constant Field Values
Azimuth
public Azimuth(double theValue,
AngleUnits theUnits)
- Constructor for the Azimuth class
- Parameters:
theValue - the magnitude of Azimuth as a doubletheUnits - the units of the value that will be stored (ex: km)
as
public double as(AngleUnits theUnits)
- Override the super as() method.
- Overrides:
as in class Angle
- Parameters:
theUnits - the units of the value that will be returned.
- Returns:
- the value of the measure in specified units.
- See Also:
Units