public class AngleSolid extends DoubleScalar.Rel<AngleSolidUnit> implements Relative
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2015-10-04 20:45:14 +0200 (Sun, 04 Oct 2015) $, @version $Revision: 85 $, by $Author: averbraeck $, initial
version Sep 5, 2015
DoubleScalar.Abs<U extends Unit<U>>, DoubleScalar.Rel<U extends Unit<U>>si| Constructor and Description |
|---|
AngleSolid(double value,
AngleSolidUnit unit)
Construct AngleSolid scalar.
|
AngleSolid(DoubleScalar.Rel<AngleSolidUnit> value)
Construct AngleSolid scalar.
|
| Modifier and Type | Method and Description |
|---|---|
AngleSolid |
abs()
Set the value(s) to their absolute value.
|
AngleSolid |
acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
AngleSolid |
asin()
Set the value(s) to the arc sine of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
AngleSolid |
atan()
Set the value(s) to the arc tangent of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
AngleSolid |
cbrt()
Set the value(s) to the(ir) cube root.
|
AngleSolid |
ceil()
Set the value(s) to the smallest (closest to negative infinity) value(s) that are greater than or equal to the argument
and equal to a mathematical integer.
|
AngleSolid |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
AngleSolid |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
Dimensionless.Rel |
divideBy(AngleSolid v)
Calculate the division of AngleSolid and AngleSolid, which results in a Dimensionless scalar.
|
AngleSolid |
divideBy(double divisor)
Scale the value(s) by the inverse of a factor; i.e.
|
AngleSolid |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
AngleSolid |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
AngleSolid |
floor()
Set the value(s) to the largest (closest to positive infinity) value(s) that are less than or equal to the argument and
equal to a mathematical integer.
|
static AngleSolid |
interpolate(AngleSolid zero,
AngleSolid one,
double ratio)
Interpolate between two values.
|
AngleSolid |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
AngleSolid |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
AngleSolid |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
AngleSolid |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
AngleSolid |
minus(AngleSolid v)
Relative scalar minus Relative scalar = Relative scalar.
|
AngleSolid |
multiplyBy(double factor)
Scale the value(s) by a factor.
|
AngleSolid |
plus(AngleSolid v)
Relative scalar plus Relative scalar = Relative scalar.
|
AngleSolid |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
AngleSolid |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
AngleSolid |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
AngleSolid |
signum()
Set the value(s) to the signum function of the value(s); zero if the argument is zero, 1.0 if the argument is greater
than zero, -1.0 if the argument is less than zero.
|
AngleSolid |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
AngleSolid |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
AngleSolid |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
AngleSolid |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
AngleSolid |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
AngleSolid |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
AngleSolid |
toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
compareTo, eq, ge, getSI, gt, le, lt, minus, ne, plusdivide, divide, doubleValue, equals, floatValue, getInUnit, getInUnit, hashCode, interpolate, interpolate, intValue, longValue, minus, minus, minus, multiply, multiply, plus, plus, plus, toString, toString, toString, toStringexpressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelativebyteValue, shortValuepublic AngleSolid(double value,
AngleSolidUnit unit)
value - double valueunit - unit for the double valuepublic AngleSolid(DoubleScalar.Rel<AngleSolidUnit> value)
value - Scalar from which to construct this instancepublic static AngleSolid interpolate(AngleSolid zero, AngleSolid one, double ratio)
zero - the low valueone - the high valueratio - the ratio between 0 and 1, inclusivepublic final AngleSolid abs()
abs in interface MathFunctions<DoubleScalar<AngleSolidUnit>>abs in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid acos()
acos in interface MathFunctions<DoubleScalar<AngleSolidUnit>>acos in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid asin()
asin in interface MathFunctions<DoubleScalar<AngleSolidUnit>>asin in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid atan()
atan in interface MathFunctions<DoubleScalar<AngleSolidUnit>>atan in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid cbrt()
cbrt in interface MathFunctions<DoubleScalar<AngleSolidUnit>>cbrt in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid ceil()
ceil in interface MathFunctions<DoubleScalar<AngleSolidUnit>>ceil in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid cos()
cos in interface MathFunctions<DoubleScalar<AngleSolidUnit>>cos in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid cosh()
cosh in interface MathFunctions<DoubleScalar<AngleSolidUnit>>cosh in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid exp()
exp in interface MathFunctions<DoubleScalar<AngleSolidUnit>>exp in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid expm1()
expm1 in interface MathFunctions<DoubleScalar<AngleSolidUnit>>expm1 in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid floor()
floor in interface MathFunctions<DoubleScalar<AngleSolidUnit>>floor in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid log()
log in interface MathFunctions<DoubleScalar<AngleSolidUnit>>log in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid log10()
log10 in interface MathFunctions<DoubleScalar<AngleSolidUnit>>log10 in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid log1p()
log1p in interface MathFunctions<DoubleScalar<AngleSolidUnit>>log1p in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid rint()
rint in interface MathFunctions<DoubleScalar<AngleSolidUnit>>rint in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid round()
round in interface MathFunctions<DoubleScalar<AngleSolidUnit>>round in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid signum()
signum in interface MathFunctions<DoubleScalar<AngleSolidUnit>>signum in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid sin()
sin in interface MathFunctions<DoubleScalar<AngleSolidUnit>>sin in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid sinh()
sinh in interface MathFunctions<DoubleScalar<AngleSolidUnit>>sinh in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid sqrt()
sqrt in interface MathFunctions<DoubleScalar<AngleSolidUnit>>sqrt in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid tan()
tan in interface MathFunctions<DoubleScalar<AngleSolidUnit>>tan in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid tanh()
tanh in interface MathFunctions<DoubleScalar<AngleSolidUnit>>tanh in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid inv()
inv in interface MathFunctions<DoubleScalar<AngleSolidUnit>>inv in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid toDegrees()
toDegrees in interface MathFunctions<DoubleScalar<AngleSolidUnit>>toDegrees in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid toRadians()
toRadians in interface MathFunctions<DoubleScalar<AngleSolidUnit>>toRadians in class DoubleScalar.Rel<AngleSolidUnit>public final AngleSolid pow(double x)
pow in interface MathFunctions<DoubleScalar<AngleSolidUnit>>pow in class DoubleScalar.Rel<AngleSolidUnit>x - double; the value to use as the powerpublic final AngleSolid multiplyBy(double factor)
multiplyBy in interface DoubleMathFunctions<DoubleScalar<AngleSolidUnit>>multiplyBy in class DoubleScalar.Rel<AngleSolidUnit>factor - double; the multiplierpublic final AngleSolid divideBy(double divisor)
divideBy in interface DoubleMathFunctions<DoubleScalar<AngleSolidUnit>>divideBy in class DoubleScalar.Rel<AngleSolidUnit>divisor - double; the divisorpublic final AngleSolid plus(AngleSolid v)
v - the value to addpublic final AngleSolid minus(AngleSolid v)
v - the value to subtractpublic final Dimensionless.Rel divideBy(AngleSolid v)
v - AngleSolid scalarCopyright © 2015 Delft University of Technology. All rights reserved.