Class: CircleVectorBuilder
Builds circle vectors.
Constructors
constructor
• new CircleVectorBuilder(): CircleVectorBuilder
Returns
Methods
build
▸ build(vectors
, index
, direction
, radius
, center
, start
, end
, flags?
): 1
Builds a circle vector and adds it to a sequence.
Parameters
Name | 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.
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
Name | 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.
Defined in
src/sdk/flightplan/FlightPathVectorBuilder.ts:45