Java Angle angleInRange(double angle, double min, double max)

Here you can find the source of angleInRange(double angle, double min, double max)

Description

angle In Range

License

Open Source License

Declaration

public static boolean angleInRange(double angle, double min, double max) 

Method Source Code

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

public class Main {
    public static boolean angleInRange(double angle, double min, double max) {
        if (min < max) {
            return (angle > min && angle < max);
        }//from   w ww .j  a va 2 s  .co m

        return (angle > min || angle < max);
    }
}

Related

  1. AngleEvaluation(double angle, int effectIndex, int angleNeeded, int orbValue)
  2. angleFromDirection(float dirX, float dirY)
  3. angleFromR(final double[][] R)
  4. angleInDegrees(float ownerRotation, float x1, float y1, float x2, float y2)
  5. angleInRadians(float originX, float originY, float targetX, float targetY)
  6. angleInRange(float theta1, float theta2, float tolerance)
  7. angleLinear(float a, float b, int spin, float f)
  8. angleOfLine(int x1, int y1, int x2, int y2)
  9. angleOfLineDeg(double x1, double y1, double x2, double y2)