Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
volume of intersection solids

Subject: volume of intersection solids

From: Archi

Date: 18 Feb, 2011 09:48:03

Message: 1 of 3

I have a cylindrical surface defined by the function [x,y,z]=cylinder, I have some spheres [x,y,z]=spheres inside the cylinder which intersect the external surface. I want to calculate the volume of the sphere slice cut by the cylindrical surface.
Any suggestion?
Thanks

Subject: volume of intersection solids

From: ImageAnalyst

Date: 18 Feb, 2011 13:06:55

Message: 2 of 3

On Feb 18, 4:48 am, "Archi " <niccolo.c...@mail.ing.unibo.it> wrote:
> I have a cylindrical surface defined by the function [x,y,z]=cylinder, I have some spheres [x,y,z]=spheres inside the cylinder which intersect the external surface. I want to calculate the volume of the sphere slice cut by the cylindrical surface.
> Any suggestion?
> Thanks

----------------------------------------------------------------------------------------------------------------------
Can you get this all together in one binary volume? Like multiply
your cylinder by your spheres so that you have just spheres, some of
which are whole and some of which are chopped off by the cylinder? If
you can get such a 3D array with 1's where there are sphere voxels and
0 where there is void space, then you can just call bwconncomps and
regionprops to get the volume of each sphere (or partial sphere).
ImageAnalyst

Subject: volume of intersection solids

From: David Dresden

Date: 18 Feb, 2011 13:17:04

Message: 3 of 3

I vaguely recall we had a Calc assignment in the 1980s to come up with a formula for the perpendicular intersection of two cylinders of equal radii. For some reason I remember it worked out to be 16/3 r cubed.

Just a blast from the past, sorry to be of no help here.

:)

David Dresden
http://www.LiquidNitrogenOverclocking.com
Builders of 5.0 GHz (and faster) computers
optimized for MatLab software

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us