Hello Java2D Users,

I'm new to the list, and have a question:

I am writing an application where the user draws a geometry and the program
creates a 2D mesh (grid) for some scientific calculation. My question is:
When we have a curve, arc or ellipse, how can I get the points (x,y
coordinates) on the curve at specified intervals? I used
FlatteningPathIterator but that really does not give me an accurate
incrementation, especially around 2nd-derivative=0 places in a CubicCurve2D.

To visualize this, consider a 4 sided shape where there is a
line @ EAST
Arc2D @ SOUTH
QuadCurve2D @ WEST and
CubicCurve2D @ NORTH.,
and I need to know the exact y-coordinate of a point on the Cubic curve, as
I increment x a random value. (Knowing the formula of the curve would have
been perfect fit for the job, but that we cannot do I suppose?)

Thanks for the prospective help.

Tolga Sakman

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to