IPolarPlotter.AddCoordinate Method |
Adds a coordinate to all applicable slices. The coordinate will be checked by an instance of
IAircraftSanityChecker.
Namespace: VirtualRadar.Interface.ListenerAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxvoid AddCoordinate(
int aircraftId,
int altitude,
double latitude,
double longitude
)
Sub AddCoordinate (
aircraftId As Integer,
altitude As Integer,
latitude As Double,
longitude As Double
)
void AddCoordinate(
int aircraftId,
int altitude,
double latitude,
double longitude
)
abstract AddCoordinate :
aircraftId : int *
altitude : int *
latitude : float *
longitude : float -> unit
Parameters
- aircraftId
- Type: System.Int32
The unique identifier of the aircraft. - altitude
- Type: System.Int32
Altitude of the aircraft in feet. - latitude
- Type: System.Double
The latitude of the aircraft. - longitude
- Type: System.Double
The longitude of the aircraft.
Remarks
The plotter calculates the distance and bearing from
Latitude and
Longitude
to the latitude and longitude passed across. If the distance is the furthest seen for that bearing then
it is recorded in all slices that cover the altitude passed across, otherwise it is discarded.
See Also