@Test public void testPointDirection() throws Exception { assertEquals(Utils.pointDirection(-1.0, -1.0, 5.0, 5.0), Math.PI / 4.0, 0.01); }
public static double pointDirection(double x1, double y1, double x2, double y2) { return Math.atan2(y2 - y1, x2 - x1); }
Utils { public static double pointDirection(double x1, double y1, double x2, double y2) { return Math.atan2(y2 - y1, x2 - x1); } }
Utils { public static double pointDirection(double x1, double y1, double x2, double y2) { return Math.atan2(y2 - y1, x2 - x1); }  }
Utils { public static double pointDirection(double x1, double y1, double x2, double y2) { return Math.atan2(y2 - y1, x2 - x1); }  static double getHeading(Quaternion quaternion); static double angleDifference(double angle1, double angle2); static double pointDirection(double x1, double y1, double x2, double y2); static double distance(double x1, double y1, double x2, double y2); static double distanceSquared(double x1, double y1, double x2, double y2); static double distanceToLine(double x, double y, Vector3 pt1, Vector3 pt2); static void drawPoint(GL10 gl, float x, float y, float size, int color); static void drawShape(GL10 gl, org.ros.android.view.visualization.Color color); static void drawPoints(GL10 gl, FloatBuffer vertices, float size, boolean fan); static String readText(Context context, int resId); }
Utils { public static double pointDirection(double x1, double y1, double x2, double y2) { return Math.atan2(y2 - y1, x2 - x1); }  static double getHeading(Quaternion quaternion); static double angleDifference(double angle1, double angle2); static double pointDirection(double x1, double y1, double x2, double y2); static double distance(double x1, double y1, double x2, double y2); static double distanceSquared(double x1, double y1, double x2, double y2); static double distanceToLine(double x, double y, Vector3 pt1, Vector3 pt2); static void drawPoint(GL10 gl, float x, float y, float size, int color); static void drawShape(GL10 gl, org.ros.android.view.visualization.Color color); static void drawPoints(GL10 gl, FloatBuffer vertices, float size, boolean fan); static String readText(Context context, int resId);  }