Skip to main content

Class: CircleInterceptBuilder

Defined in: src/sdk/flightplan/FlightPathVectorBuilder.ts:361

Builds great-circle paths to intercept other geo circles.

Constructors

Constructor

new CircleInterceptBuilder(): CircleInterceptBuilder

Returns

CircleInterceptBuilder

Methods

build()

Call Signature

build(vectors, index, start, course, circle, flags?): number

Defined in: src/sdk/flightplan/FlightPathVectorBuilder.ts:379

Builds a sequence of vectors representing a great-circle path from a defined start point to an intersection with another geo circle.

Parameters
ParameterTypeDescription
vectorsCircleVector[]The flight path vector sequence to which to add the vectors.
indexnumberThe index in the sequence at which to add the vectors.
startReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterfaceThe start point.
coursenumberThe initial true course bearing.
circleGeoCircleThe circle to intercept.
flags?numberThe flags to set on the vector. Defaults to none (0).
Returns

number

The number of vectors added to the sequence.

Call Signature

build(vectors, index, start, startPath, circle, flags?): number

Defined in: src/sdk/flightplan/FlightPathVectorBuilder.ts:399

Builds a sequence of vectors representing a path from a defined start point to an intersection with another geo circle.

Parameters
ParameterTypeDescription
vectorsCircleVector[]The flight path vector sequence to which to add the vectors.
indexnumberThe index in the sequence at which to add the vectors.
startReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterfaceThe start point.
startPathGeoCircleThe initial path.
circleGeoCircleThe circle to intercept.
flags?numberThe 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.