I have demonstrated the issue in image below:

There are two known positions ‘A’ and ‘B’ and I would like to have the positions of all the points at regular intervals between them. How to do this in Cesium.

I know of one idea… I can find line equation between the two points and then by taking point A as origin taking 10m as radius, find intersection point between line and circle to get the point 10m away in desired direction from point A.

But that is a very inefficient way. I would like to know if there is any simpler and efficient way?

Thanks and Regards,

Parthesh.