Groups
Groups
Sign in
Groups
Groups
cesium-dev
Conversations
Labels
About
Send feedback
Help
GET 3D CONVEX HULL FROM Cartesian3 points
69 views
code-help
Skip to first unread message
sur...@amnex.com
unread,
Oct 19, 2018, 4:30:55 AM
10/19/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev
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
Omar Shehata
unread,
Oct 22, 2018, 12:01:36 PM
10/22/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev
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
Reply all
Reply to author
Forward
0 new messages