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
Name | Type | Default value | Description |
---|---|---|---|
vectors | CircleVector [] | undefined | The flight path vector sequence to which to add the vectors. |
index | number | undefined | The index in the sequence at which to add the vectors. |
start | Readonly <Omit <Float64Array , "set" | "sort" | "copyWithin" >> | LatLonInterface | undefined | The start point. |
startPath | GeoCircle | undefined | The great-circle path defining the initial course. |
startTurnRadius | number | undefined | The radius of the initial turn, in meters. |
startTurnDirection | VectorTurnDirection | undefined | The direction of the initial turn. |
end | Readonly <Omit <Float64Array , "set" | "sort" | "copyWithin" >> | LatLonInterface | undefined | The end point. |
endPath | GeoCircle | undefined | The great-circle path defining the final course. |
endTurnRadius | number | undefined | The radius of the final turn, in meters. |
endTurnDirection | VectorTurnDirection | undefined | The direction of the final turn. |
startTurnVectorFlags | number | 0 | The flags to set on the initial turn vector. Defaults to none (0). |
endTurnVectorFlags | number | 0 | The flags to set on the final turn vector. Defaults to none (0). |
connectVectorFlags | number | 0 | The 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