Hello
Guest
it is
May 07, 2025, 04:55:36 PM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
VB and the development of wizards
/
angle of a line between 2 points
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: angle of a line between 2 points (Read 5277 times)
0 Members and 1 Guest are viewing this topic.
swetha22
9
angle of a line between 2 points
«
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
54
Re: angle of a line between 2 points
«
Reply #1 on:
December 28, 2008, 08:47:58 AM »
V = (x1 - x2) / (Y1 - Y2)
A = ATN(V)
Logged
swetha22
9
Re: angle of a line between 2 points
«
Reply #2 on:
December 28, 2008, 12:41:25 PM »
Thank you .
Logged
Print
Pages:
1
Go Up
« previous
next »