C#

Asked • 07/02/19

get angle of a line from horizon?

I want to know how to get an angle of a line A-B from horizontal axis X. Other questions in SO do that only between two lines. I'm aware I can always draw second line A-C and calculate but I'm wondering if there's a faster method. EDIT: I'm very sure I'm not doing a premature optimization.

1 Expert Answer

By:

Edward E. answered • 01/28/22

Tutor
New to Wyzant

Senior Software Engineer Specializing in .NET and C#

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.