Java Radian Calculation radiansToBrads(double angleRadians)

Here you can find the source of radiansToBrads(double angleRadians)

Description

Converts angle in radians to angle in binary radians

License

Open Source License

Declaration

public static byte radiansToBrads(double angleRadians) 

Method Source Code

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

public class Main {
    /** Converts angle in radians to angle in binary radians **/
    public static byte radiansToBrads(double angleRadians) {
        return (byte) Math.round(angleRadians * 128 / Math.PI);
    }/*from  w w  w .  j a v  a  2  s.  co  m*/
}

Related

  1. radian2Angle(double radian)
  2. radianAdd(double a, double b)
  3. radiancheck(double x)
  4. radians(double d)
  5. radians(double w)
  6. radiansToRA(final double raRadians)