PolylinePipeline

external object PolylinePipeline(source)

Polyline geometry processing functions, including arc generation and subdivision.

See also

Types

Link copied to clipboard
external interface GenerateArcOptions
Link copied to clipboard
external interface GenerateCartesianArcOptions
Link copied to clipboard
Link copied to clipboard
external interface GenerateRhumbArcOptions

Functions

Link copied to clipboard

Subdivides polyline and raises all points to the specified height. Returns an array of numbers to represent the positions.

Link copied to clipboard

Subdivides polyline and raises all points to the specified height. Returns an array of new {Cartesian3} positions.

Link copied to clipboard

Subdivides polyline and raises all points to the specified height using Rhumb Lines. Returns an array of new {Cartesian3} positions.

Link copied to clipboard

Subdivides polyline and raises all points to the specified height using Rhumb lines. Returns an array of numbers to represent the positions.

Link copied to clipboard
external fun wrapLongitude(positions: ReadonlyArray<Cartesian3>, modelMatrix: Matrix4? = definedExternally): JsAny

Breaks a Polyline into segments such that it does not cross the ±180 degree meridian of an ellipsoid.