ConstantSpline
A spline that evaluates to a constant value. Although this follows the Spline interface, it does not maintain an internal array of times since its value never changes.
const position = new Cartesian3(1.0, 2.0, 3.0);
const spline = new ConstantSpline(position);
const p0 = spline.evaluate(0.0);
Content copied to clipboard