MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Intersection of a Line and Circle in 3D Space 

Subject: Intersection of a Line and Circle in 3D Space From: John Date: 18 Mar, 2009 13:35:02 Message: 1 of 4 
I am trying to write a code that will measure the intersection point of a line and a circle in 3D Space. I have the initial point (x,y,z) that the line begins starts on, and I know the gradient for that line (deltaX,deltaY,deltaZ). I also have a center point for a circle (x,y,z), it's radius, and the plane it lies on (xy plane, xz plane etc...). What I want is to find out is if there is an intersection between the line and the circle, and then if so, what that intersection point is. I'm just having trouble getting the initial set up for the equations so that I can go ahead and start solving for my unknowns. Can anyone offer me some help? 
Subject: Intersection of a Line and Circle in 3D Space From: us Date: 18 Mar, 2009 13:59:01 Message: 2 of 4 
"John" 
Subject: Intersection of a Line and Circle in 3D Space From: John D'Errico Date: 18 Mar, 2009 14:20:18 Message: 3 of 4 
"John " <john@shapestart.com> wrote in message <gpqta6$jqu$1@fred.mathworks.com>... 
Subject: Intersection of a Line and Circle in 3D Space From: Doctor61 Date: 7 Feb, 2013 07:35:13 Message: 4 of 4 
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <gpqvv2$t7t$1@fred.mathworks.com>... 
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.