Airfoil

I wanna make a program that draws an airfoil given a number of point (eg 20 points on the airfoil)

How can I program a SMOOTH line through these points?

I tried to find the line y = 1 + x + x**2 + x**3 ....
via the Reduced Row echelon Form of a matrix, but it is not a good option.
LVL 1
de_wagterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nricoCommented:
You can find lots of information about the B-spline (I don't know the exact algorithm) which paints a smooth line using a set of control points. It does not have to pass through these points, however. I don't know if that is what you need...?
0
de_wagterAuthor Commented:
Sounds great:

Just need an algorithm to draw a smooth line through a set of points. (to draw an airfoil)
0
de_wagterAuthor Commented:
where do I find info about this B-spline?
0
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

de_wagterAuthor Commented:
B-spline does not go through the given points,

do you know any other that does ??
0
_lychee_Commented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vikiingCommented:
Almost no algorithm make the curve to touch control points (in fact, the smoothing process means that a bit). If you have a curve with these (numbered) points, it's impossible to draw an INNER curve (this is, not going BEYOND control points), as a Spline curve does, which touches all four points:


          2 .
1 .                4 .
     3 .
0
de_wagterAuthor Commented:
it should not be an inner curve at all. That's what the B-Spline does. This means that our airfoils would become smaller than they should be.
0
de_wagterAuthor Commented:
Perfect, that's exactly what I was looking for.

Now I just have to write some code who does the thing, and it might not be easy,
anyway: thanx for the link
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Pascal

From novice to tech pro — start learning today.