|
JADE v6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Number
com.dautelle.math.numbers.RealtimeNumber
com.dautelle.physics.Quantity
com.dautelle.physics.Angle
This class represents the figure formed by two lines diverging from a common point. The system unit for this quantity is "rad" (Système International d'Unités).
| Nested Class Summary |
| Nested classes inherited from class com.dautelle.physics.Quantity |
Quantity.Factory, Quantity.Value |
| Field Summary | |
static Angle |
ZERO
Represents a Angle amounting to nothing. |
| Constructor Summary | |
protected |
Angle()
Default constructor (allows for derivation). |
| Method Summary | |
static Angle |
angleOf(Quantity quantity)
Returns the Angle corresponding to the specified quantity. |
static Angle |
atan2(Quantity y,
Quantity x)
Converts rectangular coordinates ( x, y)
to polar (ρ, θ). |
Angle |
bounded()
Returns an Angle in the range of -π through
π (system unit) by removing or adding a discrete number of
revolution to this angle. |
Scalar |
cos()
Returns the trigonometric cosine of this Angle. |
static void |
showAs(Unit unit)
Shows Angle instances in the specified unit. |
Scalar |
sine()
Returns the trigonometric sine of this Angle. |
Scalar |
tan()
Returns the trigonometric tangent of this Angle. |
| Methods inherited from class com.dautelle.physics.Quantity |
abs, add, appendTo, approxEquals, approxEquals, compareTo, divide, divide, doubleValue, doubleValue, equals, floatValue, floatValue, getAbsoluteError, getMaximum, getMinimum, getOutputUnit, getRelativeError, getSystemUnit, hashCode, intValue, intValue, inverse, isPossiblyZero, longValue, longValue, multiply, multiply, negate, opposite, plus, pow, random, reciprocal, root, subtract, times, toString, toString, toXml, valueOf, valueOf, valueOf, valueOf |
| Methods inherited from class com.dautelle.math.numbers.RealtimeNumber |
clone, export, isLocalObject, isPoolObject, pow, recycle, toHeap |
| Methods inherited from class java.lang.Number |
byteValue, shortValue |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Angle ZERO
Angle amounting to nothing.
| Constructor Detail |
protected Angle()
| Method Detail |
public static Angle angleOf(Quantity quantity)
Angle corresponding to the specified quantity.
public static void showAs(Unit unit)
Angle instances in the specified unit.
unit - the output unit for Angle instances.Quantity.getOutputUnit()public static Angle atan2(Quantity y, Quantity x)
x, y)
to polar (ρ, θ).
This method computes the phase θ by computing an arc tangent
of y/x.
y - y coordinatex - x coordinate
java.lang.IllegalArgumentException - x and y represent quantities of
different nature (system units are different).public Scalar sine()
Angle.
public Scalar cos()
Angle.
public Scalar tan()
Angle.
public Angle bounded()
Angle in the range of -π through
π (system unit) by removing or adding a discrete number of
revolution to this angle.
|
JADE v6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||