MatthewFlamm / pyransame

PYthon RAndom SAmpling for MEshes
https://matthewflamm.github.io/pyransame/
MIT License
12 stars 0 forks source link

Support 3D meshes #13

Closed MatthewFlamm closed 1 year ago

MatthewFlamm commented 1 year ago

Add a random_volume_points for meshes with 3D cells.

MatthewFlamm commented 1 year ago

Most (all?) vtk3Dcell have a Triangulate method which gives back Tetrahedra, which should be generalizable for random point generation.