Calculating angle between a line and North
-
Dear all,
I need to calculate the angle between North and a line connecting two latlong points. I have number of pairs(about 50) latlong points. For each and every case, i need to calculate the angle between North and the line.
Later, I wished to use this, calculated angle to rotate an object.
Do SketchUp and Ruby API has a specific function to facilitate this need?(when you have two latlong points, it gives you the angle between north and the line) or do you have any suggestions to make this happen?Thank you in advance
-
Hi Sachi, hi folks.
By default, the North direction is along the green axis. If you did not change it, measure the angle between your line and the green axis.
After clicking on the line to start the measurement procedure, slide the cursor on the protractor to get a snap from the green axis. This allows you to get the angle, even if the line doesn't intersect the green axis.
Just ideas.
Advertisement