Java Angle angle(float x, float y, float x1, float y1)

Here you can find the source of angle(float x, float y, float x1, float y1)

Description

angle

License

Open Source License

Declaration

public static double angle(float x, float y, float x1, float y1) 

Method Source Code

//package com.java2s;

public class Main {
    public static double angle(float x, float y, float x1, float y1) {
        return Math.atan((y1 - y) / (x1 - x)) + (x1 < x ? Math.PI : 0);
    }/*ww  w  .ja  va  2  s. com*/
}

Related

  1. angle(double px, double py, double qx, double qy)
  2. angle(double x1, double y1, double x2, double y2)
  3. angle(double x1, double y1, double x2, double y2)
  4. angle(double x1, double y1, double x2, double y2)
  5. angle(double[] vec1, double[] vec2)
  6. angle(float x1, float y1, float x2, float y2)
  7. angle2degree(double angle)
  8. angle2pixels(double angle)
  9. angle360Limit(float angle)