Java Angle angle(double x1, double y1, double x2, double y2)

Here you can find the source of angle(double x1, double y1, double x2, double y2)

Description

angle

License

Open Source License

Declaration

public static double angle(double x1, double y1, double x2, double y2) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static double angle(double x1, double y1, double x2, double y2) {
        return Math.atan2(y2 - y1, x2 - x1);
    }/*from w  ww.  j av  a  2  s .  c  om*/
}

Related

  1. angle(double a, double b)
  2. angle(double aX, double aY, double bX, double bY)
  3. angle(double px, double py, double qx, double qy)
  4. angle(double x1, double y1, double x2, double y2)
  5. angle(double x1, double y1, double x2, double y2)
  6. angle(double[] vec1, double[] vec2)
  7. angle(float x, float y, float x1, float y1)
  8. angle(float x1, float y1, float x2, float y2)