uavsim.graphics.instruments
Interface I_AngleMapper<_UNIT_ extends I_Unitable<_UNIT_>>
- Type Parameters:
_UNIT_ - - the unit
- All Known Implementing Classes:
- A_CircularInstrument, A_DirectionalGyro, AirspeedIndicator, Altimeter, AttitudeIndicator, AttitudeIndicator.AttitudeMapper, AutomaticDirectionFinder, ClockBasic, ClockEnhanced, DirectionalGyro, HorizontalSituationIndicator, Tachometer, TurnCoordinator, VerticalSpeedIndicator, VORLocalizerGlideslope
public interface I_AngleMapper<_UNIT_ extends I_Unitable<_UNIT_>>
Declares the capability to translate a unit of measurement into an angle to be rendered by a needle on a circular instrument. For
example, a Time unit would translate 12 o'clock as 90 degrees mathematical.
- Author:
- Dan Tappan [29.06.11]
mapAngle_
AngleMathematical mapAngle_(_UNIT_ unit)
- Returns the angle corresponding to the value of a unit.
- Parameters:
unit - - the unit
- Returns:
- the angle