@Test public void testToRadians() throws Exception { assertEquals(Math.PI, new Angle(180).toRadians(), 0.001); }
public float toRadians() { return (float) Math.toRadians(angleInDegrees); }
Angle implements Reflectable, Distributable { public float toRadians() { return (float) Math.toRadians(angleInDegrees); } }
Angle implements Reflectable, Distributable { public float toRadians() { return (float) Math.toRadians(angleInDegrees); } Angle(int aAngleInDegrees); }
Angle implements Reflectable, Distributable { public float toRadians() { return (float) Math.toRadians(angleInDegrees); } Angle(int aAngleInDegrees); Integer get(); @ReflectiveMethod Angle add(int aDiff); @ReflectiveMethod Angle invert(); @ReflectiveMethod Angle snapTo(int aStep); @ReflectiveMethod Angle resetToZero(); float toRadians(); @Override boolean equals(Object o); @Override int hashCode(); @Override AngleClassInformation getClassInformation(); @Override Map<String, Object> serialize(); static Angle deserialize(Map<String, Object> aSerializedData); static Angle fromRadians(float aAngleInRadians); }
Angle implements Reflectable, Distributable { public float toRadians() { return (float) Math.toRadians(angleInDegrees); } Angle(int aAngleInDegrees); Integer get(); @ReflectiveMethod Angle add(int aDiff); @ReflectiveMethod Angle invert(); @ReflectiveMethod Angle snapTo(int aStep); @ReflectiveMethod Angle resetToZero(); float toRadians(); @Override boolean equals(Object o); @Override int hashCode(); @Override AngleClassInformation getClassInformation(); @Override Map<String, Object> serialize(); static Angle deserialize(Map<String, Object> aSerializedData); static Angle fromRadians(float aAngleInRadians); final int angleInDegrees; static final Angle ZERO; }