Volume of union and volume of intersection of convex hulls?

조회 수: 8 (최근 30일)
Russell
Russell 2014년 4월 16일
편집: Matt J 2024년 3월 31일
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개)

Matt J
Matt J 2024년 3월 31일
편집: Matt J 2024년 3월 31일
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)

카테고리

Help CenterFile Exchange에서 3-D Volumetric Image Processing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by