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 |
---|---|
protected Direction |
MutableDirectionMatrix.instantiateScalar(double value,
DirectionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected Direction |
DirectionMatrix.instantiateScalar(double value,
DirectionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
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 |
---|---|
static Direction |
Direction.createSI(double value)
Construct %TypeAbsl% scalar.
|
Direction |
Direction.instantiateAbs(double value,
DirectionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
Direction |
Angle.instantiateAbs(double value,
DirectionUnit 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.
|
static Direction |
Direction.valueOf(String text)
Returns a Direction representation of a textual representation of a value with a unit.
|
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 |
---|---|
protected Direction |
MutableDirectionVector.instantiateScalar(double value,
DirectionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected Direction |
DirectionVector.instantiateScalar(double value,
DirectionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
Direction[] |
MutableDirectionVector.toArray()
Return an array of Direction Scalars from this vector.
|
Direction[] |
DirectionVector.toArray()
Return an array of Direction Scalars from this vector.
|
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–2019 Delft University of Technology. All rights reserved.