uavsim.navigationmodel
Class A_MarkerBeacon
java.lang.Object
uavsim.navigationmodel.A_ChartElement
uavsim.navigationmodel.A_MarkerBeacon
- Direct Known Subclasses:
- InnerMarker, MiddleMarker, OuterMarker
public abstract class A_MarkerBeacon
- extends A_ChartElement
Defines the shared aspects of a chart element for a marker beacon.
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 [17.07.11]
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RADIUS
private static final Latitude RADIUS
- the radius of the glyph
A_MarkerBeacon
protected A_MarkerBeacon(java.lang.String id,
CoordinateWorld3D coordinate)
- Creates an abstract marker beacon.
- Parameters:
id - - the unique element identifiercoordinate - - the coordinate of the origin
isOverMarker
public boolean isOverMarker(CoordinateWorld coordinate)
- Determines whether a coordinate is located over a marker.
- Parameters:
coordinate - - the coordinate
- Returns:
- the result
render
public void render(java.awt.Graphics2D graphics,
I_WorldMappable mapper,
boolean areDetailsVisible)
- Renders the glyph.
- Overrides:
render in class A_ChartElement
- Parameters:
graphics - - the graphics contextmapper - - the mapper that translates screen and world coordinatesareDetailsVisible - - whether low-level details that would clutter the display should be rendered