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,
“width”:1,
“material”:{
“solidColor”:{
“color”:{
“rgba”:[
0,255,0,255
]
}
}
},
“followSurface”: True,
“positions”: {
“references”: [
EntityWithRadar#position”,
SomeCalculatedEndPoint#position
]
}
}