check For Positive Negative Angle Mismatch - Android java.lang

Android examples for java.lang:Math Trigonometric Function

Description

check For Positive Negative Angle Mismatch

Demo Code


//package com.java2s;

public class Main {
    public static boolean checkForPositiveNegativeAngleMismatch(
            float angleOne, float angleTwo) {
        return (angleOne < -0.5 * Math.PI && angleTwo > 0.0);
    }//from  w  w w  .j  a  v a 2s .c o m
}

Related Tutorials