com.azalient.apo.basics
Class AngleRadians

java.lang.Object
  extended by com.azalient.apo.basics.Angle
      extended by com.azalient.apo.basics.AngleRadians
All Implemented Interfaces:
IAngle

public class AngleRadians
extends Angle

An angle object, created by specifying the angle in radians


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.azalient.api.a.position.IAngle
IAngle.AngleRange
 
Field Summary
 
Fields inherited from class com.azalient.apo.basics.Angle
A0, A180, A270, A45, A90, ANEG90, DEG_180, DEG_360, DEG_45, DEG_90, DEG_COLINEAR, DEG_UTURN, EAST, HALFPI, NORTH, PI, SOUTH, TWOPI, WEST, ZERO
 
Fields inherited from interface com.azalient.api.a.position.IAngle
DEG135, DEG180, DEG270, DEG360, DEG45, DEG90
 
Constructor Summary
AngleRadians(double radians)
          Create a new angle object, given value in degrees
AngleRadians(double radians, IAngle.AngleRange angleRange)
          Create a new angle object, given a value in radians and a target range
 
Method Summary
 
Methods inherited from class com.azalient.apo.basics.Angle
cos, degrees, minus, negative, plus, radians, range, rangeN180_P180, rangeP0_P360, sin, tan, toString, unitVectorXY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AngleRadians

public AngleRadians(double radians)
Create a new angle object, given value in degrees

Parameters:
radians - The angle, in radians. This can be any value, it does not need to be in the range -pi,pi

AngleRadians

public AngleRadians(double radians,
                    IAngle.AngleRange angleRange)
Create a new angle object, given a value in radians and a target range

Parameters:
radians - The angle, in radians. This can be any value, it does not need to be in the target range of -pi,pi or 0,2pi