D
D-Dog
Hi,
I have a polar plot graph plotted on a JPanel, and I would like to
determine the angle selected around that graph, given the x,y position
of the mouse. I know this is probably more of a math (trig) question,
but I figured I would check here first, as I'm sure someone has dealt
with this before. I know how to retrieve the x,y position given the
radius, center_point, and angle, just not how to do the reverse of
that.
Thanks,
Dennis
I have a polar plot graph plotted on a JPanel, and I would like to
determine the angle selected around that graph, given the x,y position
of the mouse. I know this is probably more of a math (trig) question,
but I figured I would check here first, as I'm sure someone has dealt
with this before. I know how to retrieve the x,y position given the
radius, center_point, and angle, just not how to do the reverse of
that.
Thanks,
Dennis