# Normal to Line - Curve Equ. from Points

 Register Blogs Members List Search Today's Posts Mark Forums Read

 July 4, 2005, 07:25 Normal to Line - Curve Equ. from Points #1 A.S. Guest   Posts: n/a Hi, I have a 2d set of points, I want to get the curve equation, and then move points by some distances normal to the curve at that point. Can anybody point to some online literature on it. Thanks A.S.

 July 4, 2005, 07:40 Re: Normal to Line - Curve Equ. from Points #2 Simon Guest   Posts: n/a I would suggest a spline interpolation, but if you use the routine from the "Numerical Recipes" book, what you get is the second derivative values to perform the interpolation as well as a routine to obtain the interpolated values. You can obtain the normal gradient to the surface from the first derivative: -1/df

 July 4, 2005, 20:34 Re: Normal to Line - Curve Equ. from Points #3 zxaar Guest   Posts: n/a i belive i can help you, last week i wrote a small program to calculate the center of curvature for given 3d set of data representing a curve. i do calculate the normal vector in order to find the center of rotation, if u drop me a mail, i can modify my prog little bit to suit ur need and can mail u that. (for example u might want to displace all the points by some fixed values or u might have corrosponding values in a file, or u might want to calculate them based on given curve). write in detail.

 July 4, 2005, 23:39 Re: Normal to Line - Curve Equ. from Points #4 A.S. Guest   Posts: n/a Hi Zxaar, Thanks for your help.I will mail you the program. I is for 2d grid generation. It uses the Numerical recipies spline subroutine for interpolationing points. If you can help it will be very kind of you. Thanks A.S.

 July 5, 2005, 00:19 Re: Normal to Line - Curve Equ. from Points #5 zxaar Guest   Posts: n/a or in 2d you can use this approach, http://online.redwoods.cc.ca.us/inst...osculating.htm my approach is similar to it but its in 3d.

 July 5, 2005, 02:41 Re: Normal to Line - Curve Equ. from Points #6 A.S. Guest   Posts: n/a Zxaar, Thanks A.S.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post tryingof OpenFOAM Bugs 17 December 7, 2008 05:41 A.S. Main CFD Forum 1 September 11, 2007 08:29 Fahad Main CFD Forum 0 March 23, 2004 14:20 Pr Main CFD Forum 4 October 6, 2003 06:08 CFD user CFX 3 November 25, 2002 16:16

All times are GMT -4. The time now is 14:05.