| 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 Direction |
AngleUtil.normalize(Direction angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
static Direction |
AngleUtil.normalize(Direction angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
Direction |
MutableDirectionMatrix.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
Direction |
DirectionMatrix.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
| Constructor and Description |
|---|
DirectionMatrix(Direction[][] values,
StorageType storageType)
Construct a new Absolute Immutable Double AngleMatrix.
|
MutableDirectionMatrix(Direction[][] values,
StorageType storageType)
Construct a new Absolute Mutable Double DirectionMatrix.
|
| Modifier and Type | Field and Description |
|---|---|
static Direction |
Direction.ZERO
constant with value zero.
|
| Modifier and Type | Method and Description |
|---|---|
protected Direction |
Direction.instantiateTypeAbs(double value,
AngleUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected Direction |
Angle.instantiateTypeAbs(double value,
AngleUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
static Direction |
Direction.interpolate(Direction zero,
Direction one,
double ratio)
Interpolate between two values.
|
static Direction |
Direction.max(Direction a1,
Direction a2)
Return the maximum value of two absolute scalars.
|
static Direction |
Direction.max(Direction a1,
Direction a2,
Direction... an)
Return the maximum value of more than two absolute scalars.
|
static Direction |
Direction.min(Direction a1,
Direction a2)
Return the minimum value of two absolute scalars.
|
static Direction |
Direction.min(Direction a1,
Direction a2,
Direction... an)
Return the minimum value of more than two absolute scalars.
|
Direction |
Angle.plus(Direction v)
Relative scalar plus Absolute scalar = Absolute scalar.
|
Direction |
Angle.toAbs()
Translate the relative scalar into an absolute scalar (e.g., before or after a multiplication or division).
|
| Modifier and Type | Method and Description |
|---|---|
static Direction |
Direction.interpolate(Direction zero,
Direction one,
double ratio)
Interpolate between two values.
|
static Direction |
Direction.max(Direction a1,
Direction a2)
Return the maximum value of two absolute scalars.
|
static Direction |
Direction.max(Direction a1,
Direction a2,
Direction... an)
Return the maximum value of more than two absolute scalars.
|
static Direction |
Direction.max(Direction a1,
Direction a2,
Direction... an)
Return the maximum value of more than two absolute scalars.
|
static Direction |
Direction.min(Direction a1,
Direction a2)
Return the minimum value of two absolute scalars.
|
static Direction |
Direction.min(Direction a1,
Direction a2,
Direction... an)
Return the minimum value of more than two absolute scalars.
|
static Direction |
Direction.min(Direction a1,
Direction a2,
Direction... an)
Return the minimum value of more than two absolute scalars.
|
Direction |
Angle.plus(Direction v)
Relative scalar plus Absolute scalar = Absolute scalar.
|
| Constructor and Description |
|---|
Direction(Direction value)
Construct Direction scalar.
|
| Modifier and Type | Method and Description |
|---|---|
Direction |
MutableDirectionVector.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
Direction |
DirectionVector.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| Constructor and Description |
|---|
DirectionVector(Direction[] values,
StorageType storageType)
Construct a new Absolute Immutable Double DirectionVector.
|
MutableDirectionVector(Direction[] values,
StorageType storageType)
Construct a new Absolute Mutable Double DirectionVector.
|
| Constructor and Description |
|---|
DirectionVector(List<Direction> values,
StorageType storageType)
Construct a new Absolute Immutable Double DirectionVector.
|
DirectionVector(SortedMap<Integer,Direction> values,
int length,
StorageType storageType)
Construct a new Absolute Immutable Double DirectionVector.
|
MutableDirectionVector(List<Direction> values,
StorageType storageType)
Construct a new Absolute Mutable Double DirectionVector.
|
MutableDirectionVector(SortedMap<Integer,Direction> values,
int length,
StorageType storageType)
Construct a new Absolute Mutable Double DirectionVector.
|
Copyright © 2015–2016 Delft University of Technology. All rights reserved.