Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 02:40:47 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  angle of a line between 2 points
Pages: 1   Go Down
Print
Author Topic: angle of a line between 2 points  (Read 845 times)
0 Members and 1 Guest are viewing this topic.
swetha22
Active Member

Offline Offline

Posts: 7


View Profile
« on: December 28, 2008, 02:17:10 AM »

Hi, i want to calculate the angle of a line between 2 points (x1,y1)-(x2,y2).Is there any built in function for this in mach?
please  help me out with formula code.
Thanks
Krishna
Logged
Repmo
Active Member

Offline Offline

Posts: 54



View Profile
« Reply #1 on: December 28, 2008, 08:47:58 AM »

V = (x1 - x2) / (Y1 - Y2)

A = ATN(V)
Logged
swetha22
Active Member

Offline Offline

Posts: 7


View Profile
« Reply #2 on: December 28, 2008, 12:41:25 PM »

Thank you .
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!