I suppose this is more of a mathsy theoretical question than java implementation, but I hope someone can help me!
I'm trying to work out how to draw a curve in java. I know three things about the curve i need to draw - its start and end coordinates, and how many degrees of a circle it represents (i think the technical term is the angle subtended - not 100% sure)
Im having trouble drawing a curve to fit the data properly. I've played around a bit with arc2d, where i can set the angle, but i cant get the start and end points correct. I also tried the quadratic curve, but i have no idea where to put the middle point.
Can anyone point me in the right direction? I realise its not a very good explanation so please ask if you need more info
Thanks for reading,