0
$\begingroup$

I need to know the angle between 3 points given another point R that must be contained in the angle. If a ray is drawn from the center P point to R, then it must be contained in the angle. For example:

The 3 points are labeled P.

P P P . R

In this case, the angle between the three points would be less than 180 degrees.

P P P R

In this case, the angle between the three points would be greater than 180 degrees.

How can I find this angle?

$\endgroup$
  • $\begingroup$ Is it known which point is the center point? Otherwise it's not clear what you mean by the angle between the three points. If so you can most likely solve this using dot products. $\endgroup$ – kccu Jan 16 '16 at 3:21
  • $\begingroup$ The center point is known. $\endgroup$ – questioner and answerer Jan 16 '16 at 4:45
  • $\begingroup$ Sorry, meant the OP! @questionerandanswerer: Do you understand concepts like vectors and dot products? $\endgroup$ – Frentos Jan 16 '16 at 8:33
  • $\begingroup$ Never mind, I found the solution. $\endgroup$ – questioner and answerer Jan 17 '16 at 4:36
  • $\begingroup$ @questionerandanswerer: could you add your solution as an answer here, please, or delete this question entirely? Otherwise the question will hang around forever looking unanswered. Thanks! $\endgroup$ – Frentos Jan 20 '16 at 2:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.