Package | Description |
---|---|
org.djunits.value |
Base classes for unit-based 0-d (Scalar), 1-d (Vector) and 2-d (Matrix) values.
|
org.djunits.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
org.djunits.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
Modifier and Type | Method and Description |
---|---|
static Angle |
AngleUtil.normalize(Angle angle)
Normalize an angle between 0 and 2 * PI.
|
Modifier and Type | Method and Description |
---|---|
static Angle |
AngleUtil.normalize(Angle angle)
Normalize an angle between 0 and 2 * PI.
|
Modifier and Type | Method and Description |
---|---|
protected Angle |
MutableAngleMatrix.instantiateScalar(double value,
AngleUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Angle |
AngleMatrix.instantiateScalar(double value,
AngleUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
AngleMatrix(Angle[][] values,
StorageType storageType)
Construct a new Relative Immutable Double AngleMatrix.
|
MutableAngleMatrix(Angle[][] values,
StorageType storageType)
Construct a new Relative Mutable Double AngleMatrix.
|
Modifier and Type | Field and Description |
---|---|
static Angle |
Angle.NaN
constant with value NaN.
|
static Angle |
Angle.NEG_MAXVALUE
constant with value -MAX_VALUE.
|
static Angle |
Angle.NEGATIVE_INFINITY
constant with value NEGATIVE_INFINITY.
|
static Angle |
Angle.POS_MAXVALUE
constant with value MAX_VALUE.
|
static Angle |
Angle.POSITIVE_INFINITY
constant with value POSITIVE_INFINITY.
|
static Angle |
Angle.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static Angle |
Angle.createSI(double value)
Construct Angle scalar.
|
Angle |
Direction.instantiateRel(double value,
AngleUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Angle |
Angle.instantiateRel(double value,
AngleUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
static Angle |
Angle.interpolate(Angle zero,
Angle one,
double ratio)
Interpolate between two values.
|
static Angle |
Angle.max(Angle r1,
Angle r2)
Return the maximum value of two relative scalars.
|
static Angle |
Angle.max(Angle r1,
Angle r2,
Angle... rn)
Return the maximum value of more than two relative scalars.
|
static Angle |
Angle.min(Angle r1,
Angle r2)
Return the minimum value of two relative scalars.
|
static Angle |
Angle.min(Angle r1,
Angle r2,
Angle... rn)
Return the minimum value of more than two relative scalars.
|
Angle |
Dimensionless.multiplyBy(Angle v)
Calculate the multiplication of Dimensionless and Angle, which results in a Angle scalar.
|
Modifier and Type | Method and Description |
---|---|
Dimensionless |
Angle.divideBy(Angle v)
Calculate the division of Angle and Angle, which results in a Dimensionless scalar.
|
static Angle |
Angle.interpolate(Angle zero,
Angle one,
double ratio)
Interpolate between two values.
|
static Angle |
Angle.max(Angle r1,
Angle r2)
Return the maximum value of two relative scalars.
|
static Angle |
Angle.max(Angle r1,
Angle r2,
Angle... rn)
Return the maximum value of more than two relative scalars.
|
static Angle |
Angle.max(Angle r1,
Angle r2,
Angle... rn)
Return the maximum value of more than two relative scalars.
|
static Angle |
Angle.min(Angle r1,
Angle r2)
Return the minimum value of two relative scalars.
|
static Angle |
Angle.min(Angle r1,
Angle r2,
Angle... rn)
Return the minimum value of more than two relative scalars.
|
static Angle |
Angle.min(Angle r1,
Angle r2,
Angle... rn)
Return the minimum value of more than two relative scalars.
|
Angle |
Dimensionless.multiplyBy(Angle v)
Calculate the multiplication of Dimensionless and Angle, which results in a Angle scalar.
|
Constructor and Description |
---|
Angle(Angle value)
Construct Angle scalar.
|
Modifier and Type | Method and Description |
---|---|
protected Angle |
MutableAngleVector.instantiateScalar(double value,
AngleUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Angle |
AngleVector.instantiateScalar(double value,
AngleUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Angle[] |
MutableAngleVector.toArray()
Return an array of Angle Scalars from this vector.
|
Angle[] |
AngleVector.toArray()
Return an array of Angle Scalars from this vector.
|
Constructor and Description |
---|
AngleVector(Angle[] values,
StorageType storageType)
Construct a new Relative Immutable Double AngleVector.
|
MutableAngleVector(Angle[] values,
StorageType storageType)
Construct a new Relative Mutable Double AngleVector.
|
Constructor and Description |
---|
AngleVector(List<Angle> values,
StorageType storageType)
Construct a new Relative Immutable Double AngleVector.
|
AngleVector(SortedMap<Integer,Angle> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double AngleVector.
|
MutableAngleVector(List<Angle> values,
StorageType storageType)
Construct a new Relative Mutable Double AngleVector.
|
MutableAngleVector(SortedMap<Integer,Angle> values,
int length,
StorageType storageType)
Construct a new Relative Mutable Double AngleVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.