How to remove or exclude the intersecting part from two intersecting or overlaping spheres using Matlab?
Show older comments
Hi everyone,
i have two spheres of radii R1 and R2 with centers C1 and C2 intersecting each others. i want to exclude the intersecting part. How to remove it to get new object like peanut. i used following code to get interseting spheres.
3 Comments
John D'Errico
on 2 Apr 2020
For just a few seconds I wanted to answer your question by using a polyshape for the task.
A polyshpe would be perfect, if only this were a 2-d problem, and you wanted to solve it for circles. Or, if polyshapes worked in 3-d. Maybe next release, but sadly, things get significantly more complex when you work in 3-d. Having written code for the intersection, union, etc., of volumes in 3-d and above, I will attest to that.
darova
on 2 Apr 2020
Thank you for sharing your thoughts with us!
M.S. Khan
on 2 Apr 2020
Accepted Answer
More Answers (0)
Categories
Find more on Polygonal Shapes in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
