Draw sub-volume of a sphere

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

For my use case, I would like to draw a sub-volume of a sphere. I.e, given a radius and set of four bounding latitude/longitude coordinates, draw the remaining spherical sub-volume. Looking through the API and documents, I don’t see a way to do this and was hoping someone could point me in the right direction.

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

N/A

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

If you know another way to formulate the problem, please let me know.

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

Cesium 1.61, Linux/Mac/Windows, latest Chrome and Firefox.

We actually just recently accepted an external contribution which adds the ability to draw a partial ellipsoid in CesiumJS 1.62. Check out the code example here:

https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Partial%20Ellipsoids.html

Does that help?

Yes, the wedge is exactly what I needed. Thanks!

Awesome, glad to hear that! What kind of application are you working on? I’m curious to hear what kind of use cases it enables since it’s a new feature.