Quantcast
Processing math: 100%

Distance to Point On Ring Of Sphere

vCalc Reviewed
Last modified by
on
Jul 24, 2020, 6:28:07 PM
Created by
on
Aug 8, 2014, 9:26:54 PM
s=r2-2rRcos(θ)+R2
Radius of Sphere
Point m to Center Of Sphere
Angle to Radial Line
Tags
UUID
b7e65dc7-1f42-11e4-b7aa-bc764e2038f2

if we have a point, m, (as in the picture), somewhere on an axis that extends outside a sphere, we can compute the distance, s, from that point to any point on the sphere by first realizing the perpendicular line to the axis that passes through the point on the sphere forms a right triangle and the distance, s, is the hypotenuse of that right triangle.  Using the Pythagorean Theorem, we can compute the distance, s, from the following inputs:

  • r - the distance between the point, m, and the center of the sphere (remember, point m can be inside the sphere)
  • R -  the radius of the sphere
  • θ - the angle between the axis through the point, m, and the radial line through the point on the sphere

The output is length s

 

/attachments/b7e65dc7-1f42-11e4-b7aa-bc764e2038f2/DistancetoPointOnRingOfSphere-illustration.png

Notes

s is the hypotenuse of the right triangle with the sides:  (r - R * cos(θ) and R * sin(θ)


  • Comments
  • Attachments
  • Stats
No comments
This site uses cookies to give you the best, most relevant experience. By continuing to browse the site you are agreeing to our use of cookies.