Click or drag to resize
IPolarPlotter.AddCoordinate Method
Adds a coordinate to all applicable slices. The coordinate will be checked by an instance of IAircraftSanityChecker.

Namespace: VirtualRadar.Interface.Listener
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void AddCoordinate(
	int aircraftId,
	int altitude,
	double latitude,
	double longitude
)

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