Drawing a sector

1. A concise explanation of the problem you're experiencing.

Hello, i want to draw part of a circle on the map, like sector, that will start
from inner radius, is there any way to draw something like that?

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

some examples:

https://bam.files.bbci.co.uk/bam/live/content/z8c7xnb/small

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you're using, your operating system and browser.

Im using the 1.42 on windows

Hi Anastasia,

I would use a polygon to cover though cases. You can depict a curved segment by adding many positions along the curve.

For example, this will return the list of positions to draw a circle with points every 5 degrees:

var positions = ;
for (var i = 0; i <= 360; i += 5) {

var radians = Cesium.Math.toRadians(i);

positions.push(

Cesium.Cartesian3.fromDegrees(

lon + (radius * Math.cos(radians)),

lat + (radius * Math.sin(radians))

)

);

}

``

Thanks,

Gabby

Thank you it really helped me!