Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trigonometry Functions in QM
#1
Hi Gintaras,
I was wondering if Trigonometry functions (sine, cosign, tan, atn) were supported in QM. I see VB6 and updated .NET versions:
http://msdn.microsoft.com/en-us/library/...s.80).aspx
I don't see a lot of use of this for me in general but for one thing I am doing, I need to draw arrowheads on lines drawn with a mouse gesture (for horizontal and vertical "swipes", it's easy) but for any other oblique angle, I need a litle trig!
I found this resource that basically tells me how to go about it but it needs the trig functions
http://www.dbp-consulting.com/tutorials/...Arrow.html

Unlike in the webpage, I am not interested necessarily in creating a general drawing function with specifiable arrowhead type/style etc., just appropriate simple line angles for my arrows reflecting the angle of the user's swipe.
Thanks,
S


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)