Global

Members

name

This is the FAI definition of Out-and-Return Distance with a single TP
Source:

name

This type of flight is very similar to XCLeague Out-and-Return distance
Source:

name

This is the XCLeague definition of Out-and-Return Distance between 2 turnpoints
Source:

(constant) scoringRules :Array.<Array.<object>>

These are the scoring types
Type:
  • Array.<Array.<object>>
Properties:
Name Type Description
FFVL Array.<object> FFVL Rules
XContest Array.<object> XContest Rules
FAI Array.<object> FAI Scoring Rules w/o cylinders
"FAI-Cylinders" Array.<object> FAI Scoring Rules w/ cylinders
"FAI-OAR" Array.<object> FAI Out-and-Return Distance evaluation w/o scoring multiplier
"FAI-OAR2" Array.<object> FAI Out-and-Return Distance around 2 TPs w/o scoring multiplier
XCLeague Array.<object> XCLeague Rules
Source:

Methods

module:igc-xc-score(flight, scoringTypesopt, configopt)

This the solver
Parameters:
Name Type Attributes Description
flight IGCFile flight track data in the igc_parser format
scoringTypes Array.<object> <optional>
undefined for FFVL or one of the elements of scoringRules
config object <optional>
optional config parameters
Properties
Name Type Attributes Description
maxcycle number <optional>
maximum execution time of the solver in ms, each sucessive call will return a better solution, default undefined for unlimited
noflight boolean <optional>
do not include the flight track data in the output GeoJSON, default false
invalid boolean <optional>
include invalid GPS fixes when evaluating the flight, default false
hp boolean <optional>
use high-precision distance calculation (Vincenty's), much slower for slightly higher precision, default false
trim boolean <optional>
automatically detect launch and landing and trim the flight track, default false
Source: