[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 373
  • Last Modified:

Bezier Curve

Where can I get the C code for a Bezier curve generator?
Please advice.

Thank you.
0
Zainal062797
Asked:
Zainal062797
  • 4
  • 3
1 Solution
 
n1875621Commented:
I might be able to get the pascal code, you right to translate?
0
 
Zainal062797Author Commented:
Okay.. That is fine. But can you add some comments on how to use it? Like what are that we are passing to the function, and what we are getting from the function exactly? Any additional comments would be appreciated.
Note that I don't want the function to draw the curve, I just want it to generate the points and store them in an array.

Thank you.
Aiman.

0
 
vlad_impalaCommented:
There is a Java Applet with source code at
http://www.math.ucla.edu/~baker/java/hoefer/Bezier.htm

You may find Java easier to convert to C.

Vlad.
0
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
Zainal062797Author Commented:
Thank you....
However, can you send me the Pascal code as well.. Cause I am not familiar with Java at all...

Thank you..
Aiman.

0
 
Zainal062797Author Commented:
Thanks...
I could convert it  to C code..
Thank You very much!!

Aiman.

0
 
vlad_impalaCommented:
What do you want to do with the question?
Would you like to accept one of the comments as an answer?
If this is the case post a comment indicating which comment you would accept as the answer.

Vlad.
0
 
Zainal062797Author Commented:
Yes.. I am accepting one of the comments. It is the second one, which refers to the Java code atr UCLA.
If you want me to grade you, please send me the grade form.


Thank you.
0
 
vlad_impalaCommented:
Okay - here my comment as an answer.
Now that I have submitted this as an answer you shall be able to grade it when you accept it.

There is a Java Applet with source code at
http://www.math.ucla.edu/~baker/java/hoefer/Bezier.htm 

You may find Java easier to convert to C.

Vlad.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now