SensorVolumeCollection

I would like to create a 3D cone/ellipsoid, similar to the RectangularPyramidSensorVolume (http://cesium.agi.com/Cesium/Build/Documentation/RectangularPyramidSensorVolume.html?classFilter=sensor&show=js). I really like the example you all have on Sandcastle (http://cesium.agi.com/Cesium/Apps/Sandcastle/index.html?src=Sensors.html), but I would like the sensor have a circle/ellipse base on the surface of the earth. Is this possible with any functions Cesium offers?

Thank you for your help,
Lydia

Hi Lydia,

In the sensor example that you linked to, bring down the “Manipulate Sensor” dropdown, then “Select a sensor”, and select “Custom.” Using CustomSensorVolume, you can approximate the circle or ellipse.

Patrick

Hi Patrick,

Thanks for your reply. Can I ask specifically how I can edit the CustomSensorVolume to approximate a circle or ellipse? From the members of the volume, I should probably be editing the ModelMatrix and Radius. I am not too familiar with the modelMatrix… are the changes made in there?

Thanks again for your help,

Lydia

I am not suggesting to edit the custom sensor. Instead, the custom sensor takes a series of clock and cone angles that determines its shape. In fact, the rectangular sensor is just built over the custom sensor. You can provide clock/cone angles to approximate a circle or ellipse at the sensor’s end.

Patrick