Set Polyline positions in czml file

I’m working on a project that will have entities with radar tracking capabilities. I need to show the direction the radar is pointing using a polyline with a position starting at the entity and ending at a fixed position. We are building out czml files for each entity in the backend, I’m trying to see if there is a way to do those calculation and apply that looking something like this…
“polyline”: {
“show”: True,
“followSurface”: True,
“positions”: {
“references”: [