GET 3D CONVEX HULL FROM Cartesian3 points

hello,

Is there any way to get 3D convex hull from Cartesian3 Points?

I’m using Cesium 1.50.

Similar kind of function available in three JS,

example link : https://threejs.org/examples/webgl_geometry_convex.html

You should be able to just compute this the same way Threejs does. If you look at the source of this example:

https://github.com/mrdoob/three.js/blob/master/examples/webgl_geometry_convex.html

You’ll see that they use the QuickHull library:

https://github.com/mauriciopoppe/quickhull3d

Which you can use as well. I believe it would give you an output as a list of triangle faces. To draw it in Cesium you’d have to construct a custom geometry instance:

https://cesiumjs.org/Cesium/Build/Documentation/Geometry.html