Skip to main content

Class: CircleVectorBuilder

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

Builds circle vectors.

Constructors

Constructor

new CircleVectorBuilder(): CircleVectorBuilder

Returns

CircleVectorBuilder

Methods

build()

Call Signature

build(vectors, index, direction, radius, center, start, end, flags?): 1

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

Builds a circle vector and adds it to a sequence.

Parameters
ParameterTypeDescription
vectorsCircleVector[]The flight path vector sequence to which to add the vector.
indexnumberThe index in the sequence at which to add the vector.
directionVectorTurnDirectionThe direction of the circle.
radiusnumberThe radius of the circle, in meters.
centerReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterfaceThe center of the circle.
startReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterfaceThe start point.
endReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterfaceThe end point.
flags?numberThe flags to set on the vector. Defaults to none (0).
Returns

1

The number of vectors added to the sequence, which is always equal to 1.

Call Signature

build(vectors, index, circle, start, end, flags?): 1

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

Builds a circle vector and adds it to a sequence.

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

1

The number of vectors added to the sequence, which is always equal to 1.