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
| Parameter | Type | Description |
|---|---|---|
vectors | CircleVector[] | The flight path vector sequence to which to add the vector. |
index | number | The index in the sequence at which to add the vector. |
direction | VectorTurnDirection | The direction of the circle. |
radius | number | The radius of the circle, in meters. |
center | Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterface | The center of the circle. |
start | Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterface | The start point. |
end | Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterface | The end point. |
flags? | number | The 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
| Parameter | Type | Description |
|---|---|---|
vectors | CircleVector[] | The flight path vector sequence to which to add the vector. |
index | number | The index in the sequence at which to add the vector. |
circle | GeoCircle | The circle which defines the vector path. |
start | Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterface | The start point. |
end | Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | LatLonInterface | The end point. |
flags? | number | The 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.