How to Parametrize a 3D Circle and Find the Closest Point?

  • Context: Graduate 
  • Thread starter Thread starter rod bryant
  • Start date Start date
  • Tags Tags
    3d Circle
Click For Summary

Discussion Overview

The discussion revolves around the parametrization of a 3D circle defined by the intersection of a sphere and a plane, as well as methods to find the closest point on this circle to a specified point in space. Participants explore various approaches to convert from Cartesian to parametric form and address the mathematical challenges involved.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests finding the vector to the center of the circle and two perpendicular unit vectors on the plane, along with the radius, to express the circle parametrically.
  • Another participant questions how to determine the center of the circle and proposes using the equation of the plane and the center of the sphere to find the intersection point, which would serve as the center of the circle.
  • A different approach is mentioned involving the minimization of a distance function using Lagrange multipliers, with the equations of the sphere and plane as constraints.
  • One participant provides a method to find the center and radius of the circle using three known points on the circle.
  • Links to diagrams and solutions are shared to aid in visualizing and understanding the problem.
  • A participant mentions using an approximation method while waiting for responses, indicating a comparison with the exact solution later.

Areas of Agreement / Disagreement

Participants express differing methods and approaches to the problem, with no consensus reached on a single solution or method for parametrization and finding the closest point.

Contextual Notes

Some assumptions regarding the definitions of the vectors and points involved may not be explicitly stated, and the discussion includes various mathematical steps that remain unresolved.

rod bryant
Messages
2
Reaction score
0
I have a circle defined by the intersection of a sphere and a plane.* I want to convert from cartesian to parametric form on my way to finding the closest point on the circle to some arbitrary other point.* How do I go about this?* Alternatively, how do I find the closest point?
The equation of the sphere is x^2 + y^2 + z^2 = R^2.
The equation of the plane is:* xsub0*x + ysub0*y + zsub0*z = R^2 - r^2/2 where (xsub0,ysub0,zsub0) happens to be another point in space.

I want to find the closest point on the circle to (xsub1,ysub1,zsub1).
 
Physics news on Phys.org
Hmm, I would do it a different way.

1) Find the vector to the center of the circle, \vec{c}
2) Find 2 perpendicular unit length vectors that lie on the plane, \vec{v}_1,\vec{v}_2
3) Find the radius of the circle, r (perhaps different from R if the plane doesn't slice through the exact center of the sphere)
4) Circle is given by \vec{c}+r cos\left(t\right) \vec{v}_1+r sin\left(t\right) \vec{v}_2
 
Last edited:
maze said:
Hmm, I would do it a different way.

1) Find the vector to the center of the circle, \vec{c}
The vector to the center of the circle from where? And how do you find the center of the circle?

2) Find 2 perpendicular unit length vectors that lie on the plane, \vec{v}_1,\vec{v}_2
3) Find the radius of the circle, r (perhaps different from R if the plane doesn't slice through the exact center of the sphere)
4) Circle is given by \vec{c}+r cos\left(t\right) \vec{v}_1+r sin\left(t\right) \vec{v}_2

Pretty much the same thing: From the equation of the plane and knowing the center of the sphere is at (0,0,0), you can find the equation of the line through (0,0,0) perpendicular to the plane. Determine the point at which that line crosses the plane. That will be the center of the circle (and may be what maze meant in (1) above). Choose any point on the circle and let \theta be the angle a radius of the circle makes with the line through the center of the circle and that point. You can use \theta as parameter and add vectors to get the complete parametric equations.

Now, for the actual problem. To find the closest point on the intersection of a sphere and a circle to (x_0,y_0,z_0) I would minimize (x- x_0)^2+ (y- y_0)^3+ (z-z_0)^2 using Lagrange multipliers with the equations of the sphere and plane as constraints.
 
Here is a diagram:
http://img105.imageshack.us/img105/7691/sphereplaneln3.png

Also,
If you know any 3 points on the circle \vec{p}_1,\vec{p}_2,\vec{p}_3 (they should be easy to find), then \vec{c} and r may be found as follows:
\vec{c} = \frac{1}{2}\left(\begin{matrix}\vec{p}_2-\vec{p}_1 \\ \vec{p}_3-\vec{p}_1 \\ \vec{p}_3-\vec{p}_2\end{matrix}\right)^{-1}\left(\begin{matrix}\vec{p}_1\cdot\vec{p}_1-\vec{p}_2\cdot\vec{p}_2 \\ \vec{p}_1\cdot\vec{p}_1-\vec{p}_3\cdot\vec{p}_3 \\ \vec{p}_2\cdot\vec{p}_2-\vec{p}_3\cdot\vec{p}_3 \end{matrix}\right)

r =\left|\vec{c}-\vec{p}_1\right|

For derivation of these equations, see this thread: https://www.physicsforums.com/showthread.php?t=173847
 
Last edited by a moderator:
Also, here is the solution for the closest point:
http://img142.imageshack.us/img142/483/closestptyv6.png
 
Last edited by a moderator:
parameterizing a circle in 3D

Thanks maze and hallsofivy. While waiting for a response I went about the problem another way via an approximation. Now I can compare the exact solution.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
13K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 39 ·
2
Replies
39
Views
5K