API to interpolate positions along a Polyline?

I have a simple polyline entity defined by two Cartesian3 vectors.

Is there an easy API to interpolate positions along that polyline?

Thanks

Hi David,

Did you check this Sandcastle example (https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Interpolation.html&label=Showcases) ?

Thanks AnG3L, but I actually found the answer to my own question. Use an EllipsoidGeodesic, which provides a method called interpolateUsingFraction() giving me exactly what I want.