Re: [Algorithms] Nearest point on plane for 2D IK
Brought to you by:
vexxed72
From: Serge C. <co...@po...> - 2000-08-30 13:50:32
|
Hi, T'es perdu? C'est toi qui emcombre la mail-list avec des questions de blaireaux. Si tu veux revenir fair un stage au SEA, tu quand meme le bienvenu. For info look in Graphics Gems p388: Intersection of a Ray with a sphere. Serge Couvet David Kornmann wrote: > Hi, > > I am looking for an algorithm to compute the intersecting point P between a ray and > a sphere. I know the center C and the radius R of the sphere, the origin O of the ray > and its direction V. Basically I need to find the closest intersection from O. > > But that's not all: In addition to this, IF the ray does not intersect or is tangent to the > sphere, I need to know the tangential point with the sphere. > > Does anybody know a fast and accurate solution to this problem? maybe a good web > site or some code would greatly help!... > > Thanks, > > David Kornmann. > -- > > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > http://lists.sourceforge.net/mailman/listinfo/gdalgorithms-list |