Skip to main content

Class: TurnToJoinGreatCircleAtPointBuilder

Builds paths connecting initial great circle paths to final great circle paths via a turn starting at the start point and a turn ending at the end point, connected by a great-circle path.

Constructors

constructor

new TurnToJoinGreatCircleAtPointBuilder(): TurnToJoinGreatCircleAtPointBuilder

Returns

TurnToJoinGreatCircleAtPointBuilder

Methods

build

build(vectors, index, start, startPath, startTurnRadius, startTurnDirection, end, endPath, endTurnRadius, endTurnDirection, startTurnVectorFlags?, endTurnVectorFlags?, connectVectorFlags?): number

Builds a sequence of vectors representing a path from a defined start point and initial course which turns and connects with another turn via a great-circle path to terminate at a defined end point and final course.

Parameters

NameTypeDefault valueDescription
vectorsCircleVector[]undefinedThe flight path vector sequence to which to add the vectors.
indexnumberundefinedThe index in the sequence at which to add the vectors.
startReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterfaceundefinedThe start point.
startPathGeoCircleundefinedThe great-circle path defining the initial course.
startTurnRadiusnumberundefinedThe radius of the initial turn, in meters.
startTurnDirectionVectorTurnDirectionundefinedThe direction of the initial turn.
endReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterfaceundefinedThe end point.
endPathGeoCircleundefinedThe great-circle path defining the final course.
endTurnRadiusnumberundefinedThe radius of the final turn, in meters.
endTurnDirectionVectorTurnDirectionundefinedThe direction of the final turn.
startTurnVectorFlagsnumber0The flags to set on the initial turn vector. Defaults to none (0).
endTurnVectorFlagsnumber0The flags to set on the final turn vector. Defaults to none (0).
connectVectorFlagsnumber0The flags to set on the vector along the great-circle path connecting the turns. Defaults to none (0).

Returns

number

The number of vectors added to the sequence.

Defined in

src/sdk/flightplan/FlightPathVectorBuilder.ts:812