PolylinePipeline
Polyline geometry processing functions, including arc generation and subdivision.
See also
Types
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
external fun generateCartesianArc(options: PolylinePipeline.GenerateCartesianArcOptions): ReadonlyArray<Cartesian3>
Subdivides polyline and raises all points to the specified height. Returns an array of new {Cartesian3} positions.
Link copied to clipboard
external fun generateCartesianRhumbArc(options: PolylinePipeline.GenerateCartesianRhumbArcOptions): ReadonlyArray<Cartesian3>
Subdivides polyline and raises all points to the specified height using Rhumb Lines. Returns an array of new {Cartesian3} positions.
Link copied to clipboard
external fun generateRhumbArc(options: PolylinePipeline.GenerateRhumbArcOptions): ReadonlyArray<JsDouble>
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.