gradientspace / geometry3Sharp

C# library for 2D/3D geometric computation, mesh algorithms, and so on. Boost license.
http://www.gradientspace.com
Boost Software License 1.0
1.69k stars 380 forks source link

scattered points in 3D: how to get boundaries and tetrahedrons of it ? #164

Open petersesztak opened 2 years ago

petersesztak commented 2 years ago

Dear Ryan Schmidt,

First of all thanks for your help in advance.

Short story:

Input: I have a scattered points in 3D (a few hundred vertices).

Output: O1: I would like to build up a boundaries of body (convex hull is enough for me): so how to calculate and get triangles of boundaries (B on pictures) ? O2: I would like to build a body from approximately equal volumes of tetrahedrons. (T)

Frankly speaking: all what I need is a 3D coordinates of four vertices of all tetrahedrons.

Would you be so kind to swing me to the right direction: how to achive it with your fantastic library ?

Thanks in advance, Best Regards, Péter BoundariesAndTetrahedrons