Volume of union and volume of intersection of convex hulls?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I apologize if the answer to this is obvious. I am a matlab and geometry noob.
Anyway, I used convhulln to compute a bunch of convex hulls. I want to know how to compute the volume of the union and the volume of the intersection of an arbitrary number of these polytopes.
Anyone have any ideas? Tried doing some googling, to no avail.
1 commentaire
Réponses (1)
Matt J
le 31 Mar 2024 à 1:29
Modifié(e) : Matt J
le 31 Mar 2024 à 1:32
Use intersectionHull from this FEX download to find the intersection,
Once you have found the vertices of the intersection, convhulln can be used to find its volume.
Once you've found the volume of the intersection, the volume of the union can be found using,
Volume(Union) = Volume(Polytope1) + Volume(Polytope2) - Volume(Intersection)
0 commentaires
Voir également
Catégories
En savoir plus sur 3-D Volumetric Image Processing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!