Home > Software engineering >  [urgent urgent!!!!!!] Four point coordinates two straight Angle (written in Java)
[urgent urgent!!!!!!] Four point coordinates two straight Angle (written in Java)

Time:11-20

Input coordinates 4 points, the first and the second point connect a line, 3 and 4 PM together as another line, calculation of two straight lines degree Angle of

CodePudding user response:

Java has inside atan2 () method, to calculate separately the Angle of each line, do bad bai

Straight line have direction, have acute and obtuse Angle, by whatever use atan2 can be easy to solve

CodePudding user response:

Has been resolved thank you thank you!
  • Related