Skip to main content

Class: CircleVectorBuilder

Builds circle vectors.

Constructors

constructor

new CircleVectorBuilder(): CircleVectorBuilder

Returns

CircleVectorBuilder

Methods

build

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

Builds a circle vector and adds it to a sequence.

Parameters

NameTypeDescription
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.

Defined in

src/sdk/flightplan/FlightPathVectorBuilder.ts:25

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

Builds a circle vector and adds it to a sequence.

Parameters

NameTypeDescription
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.

Defined in

src/sdk/flightplan/FlightPathVectorBuilder.ts:45