Common Volume/Intersection Volume between two Delaunay Triangulations
9 次查看(过去 30 天)
显示 更早的评论
Hello Everyone
I am creating a bunch of 3D Delaunay Triangulations from the different set of points and for any pair of 3D Delaunay Triangulations, I need to calculate the volume which is common to both 3D Delaunay Triangulations. There are number of pairs which share volume and I need to calculate the values of these shared volumes.
Does anyone have a quick and nice method to calculate this ?
0 个评论
回答(2 个)
Teja Muppirala
2013-2-21
Sounds like a difficult problem to do exactly/analytically. I think you can get a very good approximation using a much simpler method.
1. Make a regular 3d grid of points using NDGRID that spans the box containing both of your triangulations.
2. For each point in the 3d grid, see if it is inside both triangulations. (The file exchange has fast algorithms for testing this)
3. Count the number of points from step 2, divide by the total number of points in the grid, and scale it by the volume of the box.
4. Go back to #1, increase the number of points, repeat until you verify convergence.
You could also use random numbers instead of a regular grid.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Delaunay Triangulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!