Is Possible to draw polyline from origin of globe

Is there a reason you can't draw a polyline from the origin of the globe?

Was trying to do this for each of the directions:

    positions: [
      new Cesium.Cartesian3(0,0,0),
      new Cesium.Cartesian3(10 * 1000 * 1000, 0, 0)
    width: 2,
    material: Cesium.Color.GREEN,
    followSurface : false

But I got the exception: Could not project point (0, 0, 0) to 2D

This is more for curiosity than anything else, just to help get the hang of the coordinate system


It might be possible if you disable 2D and Columbus view (by passing scene3dOnly to the Viewer constructor), but I’ve never tried it. When projecting to 2D, we need to convert from Cartesian to Cartographic and Cartesian 0,0,0 is undefined in Cartographic space (because it has an infinite number of answers).