public class TLcdAircraftState extends Object
Constructor and Description |
---|
TLcdAircraftState()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
TLcdAircraftPerformanceSettings |
getAircraftPerformanceSettings()
Returns the current aircraft performance settings.
|
double |
getCurrentAltitude()
Returns the current altitude of the aircraft.
|
double |
getCurrentCourse()
Returns the current course of the aircraft.
|
ILcdPoint |
getCurrentPosition()
Returns the current position of the aircraft.
|
void |
invalidate()
Invalidates the current state.
|
boolean |
isStateValid()
Indicates whether or not the current state is valid.
|
void |
setAircraftPerformanceSettings(TLcdAircraftPerformanceSettings aPerformanceSettings)
Sets the current aircraft performance settings.
|
void |
setCurrentAltitude(double aAltitude)
Sets the current altitude to the specified value.
|
void |
setCurrentCourse(double aCourse)
Sets the current course to the specified value.
|
void |
setCurrentPosition(ILcdPoint aPos)
Moves the current position to the specified location.
|
public TLcdAircraftState()
public ILcdPoint getCurrentPosition()
public double getCurrentCourse()
public double getCurrentAltitude()
public void invalidate()
public boolean isStateValid()
public void setCurrentPosition(ILcdPoint aPos)
aPos
- the new aircraft positionpublic void setCurrentCourse(double aCourse)
aCourse
- the new coursepublic void setCurrentAltitude(double aAltitude)
aAltitude
- the new altitudepublic TLcdAircraftPerformanceSettings getAircraftPerformanceSettings()
TLcdAircraftPerformanceSettings
public void setAircraftPerformanceSettings(TLcdAircraftPerformanceSettings aPerformanceSettings)
aPerformanceSettings
- an TLcdAircraftPerformanceSettings