Volume of Intersection of a Cone with a Sphere

AI Thread Summary
To compute the volume of intersection between a cone and a sphere, an analytic expression is likely not feasible for arbitrary shapes, but a Monte Carlo method could be used. The discussion emphasizes the need for defining parameters such as the cone's axis and the relationship between the cone and sphere. A suggested approach involves finding equations for membership in each volume, rearranging them, and integrating over the cone's axis. Specific cases, such as the positioning of the cone's vertex relative to the sphere, can complicate the calculations. Overall, the conversation highlights the complexity of the problem and the necessity for a structured mathematical approach.
sneez
Messages
312
Reaction score
0
Hey,

im trying to write a program that computes Volume of Intersection of a Cone with a Sphere. Can anyone point me to the math i need to know.

Any links, material is good. Thanx
 
Physics news on Phys.org
sneez,

Are you talking about:
a) a specific cone and sphere, or
b) do you want them to be arbitrarily defined with inputs to your program?

a is easy; b isn't so easy, but it's doable (and it would be a lot cooler!)
 
Yes b) would be more helpful. thanx


sneez
 
anyone knows...?
 
An analytic expression (i.e., a formula) is probably not possible for an arbitrary cone and sphere.
You might try to write a Monte-Carlo-type program.
http://www.chem.unl.edu/zeng/joy/mclab/mcintro.html
http://www.library.cornell.edu/nr/bookcpdf/c7-6.pdf
 
Last edited by a moderator:
An analytic expression (i.e., a formula) is probably not possible for an arbitrary cone and sphere.

I'm sure it is possible. I'll try to get this rigorous in a few hours when I have time - but in summary, you find the equations for 'membership' in each volume (the sphere, the cone), you rearrange them algebraically until they are expressed in terms of integrable parameters. For example:

-use the axis of the cone (parameter a or something)
-at arbitrary a, consider the disk at a bounded by the cone (in other words, the flat circle inside the cone orthogonal to its axis)
-extend this plane to infinity: all such planes have simple form ax+by+cz=d, where all a,b,c are fixed and depend on the cone's axis
-get the equation of the intersection of this plane with the sphere (it's either nothing, or a perfect circle [or a point, but that has no area...])
-get the equations of the area in the intersection of this circle, and the cone (two circles in the same plane - I'd probably first find the arbitrary formula for two circles, radius r1, r2, distance d apart - its not too hard to find) [special case to watch out for - one circle is inside the other]
-repeat, integrating over the axis of the cone ("a")

The integral should be reasonably analytical, if you integrate over precisely that length of the axis along which intersection occurs. Or if it doesn't work, first split the problem into the few possible kinds of intersection, identity the regions, and treat each case individually. I'll revisit this tonight.

-rachmaninoff
 
P.S. I'd probably write this in Mathematica.
 
Are you assuming a right-circular cone? with finite height?
Are you assuming that the conical axis is radial?
Is the vertex inside or outside the sphere?
A probably not-so-pretty case ["for an arbitrary cone and a sphere"] is a cone with an exterior vertex whose axis is a secant line almost grazing the sphere.
 
Plz see the attachment. This is a radar which orbits an earth. I am interested in the area marked in red color. You have to picture it in 3d plus the sattelite signal changes heights as it moves around Earth as it scans up and down (but we could omit that for now). I just need some lead on the math involved...


thanx for help
 

Attachments

  • earth.jpg
    earth.jpg
    14 KB · Views: 577
Back
Top