?
Solved

Bezier Curve

Posted on 1998-06-26
8
Medium Priority
?
362 Views
Last Modified: 2010-08-05
Where can I get the C code for a Bezier curve generator?
Please advice.

Thank you.
0
Comment
Question by:Zainal062797
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 

Expert Comment

by:n1875621
ID: 1112803
I might be able to get the pascal code, you right to translate?
0
 

Author Comment

by:Zainal062797
ID: 1112804
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
 
LVL 3

Expert Comment

by:vlad_impala
ID: 1112805
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
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

 

Author Comment

by:Zainal062797
ID: 1112806
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
 

Author Comment

by:Zainal062797
ID: 1112807
Thanks...
I could convert it  to C code..
Thank You very much!!

Aiman.

0
 
LVL 3

Expert Comment

by:vlad_impala
ID: 1112808
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
 

Author Comment

by:Zainal062797
ID: 1112809
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
 
LVL 3

Accepted Solution

by:
vlad_impala earned 200 total points
ID: 1112810
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
In this second Micro Tutorial in the series,  viewers will learn more basic shortcuts and functions of Illustrator. In this tutorial you will learn about the eyedropper tool, zoom , ellipses and more.
In addition to being a great web-based presentation tool, Prezi also makes it easy to save your presentation as a PDF to share with others as well. Learn how in this tutorial. Select the share icon from the top menu in your Prezi editor: Select "D…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question