uavsim.navigationmodel
Class Glideslope

java.lang.Object
  extended by uavsim.navigationmodel.A_ChartElement
      extended by uavsim.navigationmodel.A_ChartElementTuneable<VOR_ILS_DME_Frequency>
          extended by uavsim.navigationmodel.A_ILSCorridor
              extended by uavsim.navigationmodel.Glideslope

public class Glideslope
extends A_ILSCorridor

Defines an ILS glideslope to a runway. The glideslope does not render.

This component should not be instantiated and added to a chart directly because it is processed only as a members of an ILSAssembly.

Author:
Dan Tappan [19.07.11]

Field Summary
private static java.awt.Color COLOR
          the glyph color
private static AngleMathematical HEIGHT
          the glideslope height
private static Latitude LENGTH
          the glideslope length
private static AngleMathematical SLOPE
          the glideslope slope
private static AngleNavigational WIDTH
          the glideslope width
 
Fields inherited from class uavsim.navigationmodel.A_ILSCorridor
_azimuth, _length, _width
 
Fields inherited from class uavsim.navigationmodel.A_ChartElementTuneable
_designator, _frequency
 
Fields inherited from class uavsim.navigationmodel.A_ChartElement
_anchor, _coordinate, _id
 
Constructor Summary
protected Glideslope(java.lang.String id, java.lang.String designator, VOR_ILS_DME_Frequency frequency, CoordinateWorld3D coordinate, AngleNavigational azimuth)
          Creates an ILS glideslope chart element.
 
Method Summary
 java.awt.Color getColor()
          Gets the color of the glyph.
 AngleMathematical getHeight()
          Gets the corridor height.
 AngleMathematical getSlope()
          Gets the corridor slope.
 boolean isOnGlideslope(CoordinateWorld coordinate)
          Determines whether a coordinate is within the glideslope corridor.
 
Methods inherited from class uavsim.navigationmodel.A_ILSCorridor
getAzimuth, getLength, getWidth, toString
 
Methods inherited from class uavsim.navigationmodel.A_ChartElementTuneable
getDesignator, getFrequency, hasFrequency
 
Methods inherited from class uavsim.navigationmodel.A_ChartElement
areDetailsVisible, getCoordinate, getID, render, renderLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COLOR

private static final java.awt.Color COLOR
the glyph color


HEIGHT

private static final AngleMathematical HEIGHT
the glideslope height


LENGTH

private static final Latitude LENGTH
the glideslope length


SLOPE

private static final AngleMathematical SLOPE
the glideslope slope


WIDTH

private static final AngleNavigational WIDTH
the glideslope width

Constructor Detail

Glideslope

protected Glideslope(java.lang.String id,
                     java.lang.String designator,
                     VOR_ILS_DME_Frequency frequency,
                     CoordinateWorld3D coordinate,
                     AngleNavigational azimuth)
Creates an ILS glideslope chart element.

Parameters:
id - - the unique element identifier
designator - - the station designator
frequency - - the station frequency
coordinate - - the coordinate of the origin
azimuth - - the azimuth
Method Detail

getColor

public java.awt.Color getColor()
Gets the color of the glyph.

Specified by:
getColor in class A_ChartElement
Returns:
the color

getHeight

public AngleMathematical getHeight()
Gets the corridor height.

Returns:
the height

getSlope

public AngleMathematical getSlope()
Gets the corridor slope.

Returns:
the slope

isOnGlideslope

public boolean isOnGlideslope(CoordinateWorld coordinate)
Determines whether a coordinate is within the glideslope corridor.

Parameters:
coordinate - - the coordinate
Returns:
the result