The Artima Developer Community
Sponsored Link

Java Answers Forum
Points on the Bezier Curve

2 replies on 1 page. Most recent reply: Jun 5, 2002 12:17 AM by Galahady Gao

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Galahady Gao

Posts: 4
Nickname: galahady
Registered: Jun, 2002

Points on the Bezier Curve Posted: Jun 4, 2002 2:46 AM
Reply to this message Reply
Advertisement
How to get the points on a bezier curve?
I tried by using Path Iterator,
but I failed.

I have almost 20000 points. The data type is double.
Not only I want to draw a smooth curve, but I also
need the correspondent yS of the original 20000 xS.

Thank in advance!


Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: Points on the Bezier Curve Posted: Jun 4, 2002 9:43 AM
Reply to this message Reply
Check out Bruce Eckel's Thinking in Java, 2nd Edition, it has a simple example of graphing a sine wave, which could easily be extrapolated for your purposes. The book is even available digitally, for free: http://www.mindview.net/Books/TIJ/DownloadSites

Galahady Gao

Posts: 4
Nickname: galahady
Registered: Jun, 2002

Re: Points on the Bezier Curve Posted: Jun 5, 2002 12:17 AM
Reply to this message Reply
Hi, Matt Gerrans,

Thank you anyway!

Although TIJ is fairly well, I didn't find the exmple
you just mentioned. Could you be so kind to tell me
in which chapter or which html files of TIJ this
example lives.

Flat View: This topic has 2 replies on 1 page
Topic: Error unmarshaling Return header Previous Topic   Next Topic Topic: Generate Number And Character

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use