Class: CircleInterceptBuilder
Builds great-circle paths to intercept other geo circles.
Constructors
constructor
• new CircleInterceptBuilder(): CircleInterceptBuilder
Returns
Methods
build
▸ build(vectors
, index
, start
, course
, circle
, flags?
): number
Builds a sequence of vectors representing a great-circle path from a defined start point to an intersection with another geo circle.
Parameters
Name | Type | Description |
---|---|---|
vectors | CircleVector [] | The flight path vector sequence to which to add the vectors. |
index | number | The index in the sequence at which to add the vectors. |
start | Readonly <Omit <Float64Array , "set" | "sort" | "copyWithin" >> | LatLonInterface | The start point. |
course | number | The initial true course bearing. |
circle | GeoCircle | The circle to intercept. |
flags? | number | The flags to set on the vector. Defaults to none (0). |
Returns
number
The number of vectors added to the sequence.
Defined in
src/sdk/flightplan/FlightPathVectorBuilder.ts:379
▸ build(vectors
, index
, start
, startPath
, circle
, flags?
): number
Builds a sequence of vectors representing a path from a defined start point to an intersection with another geo circle.
Parameters
Name | Type | Description |
---|---|---|
vectors | CircleVector [] | The flight path vector sequence to which to add the vectors. |
index | number | The index in the sequence at which to add the vectors. |
start | Readonly <Omit <Float64Array , "set" | "sort" | "copyWithin" >> | LatLonInterface | The start point. |
startPath | GeoCircle | The initial path. |
circle | GeoCircle | The circle to intercept. |
flags? | number | The flags to set on the vector. Defaults to none (0). |
Returns
number
The number of vectors added to the sequence.
Throws
Error if start
does not lie on startPath
.
Defined in
src/sdk/flightplan/FlightPathVectorBuilder.ts:399