Package | Description |
---|---|
org.djunits.value |
Base classes for unit-based 0-d (Scalar), 1-d (Vector) and 2-d (Matrix) values.
|
org.djunits.value.vfloat.matrix |
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
org.djunits.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
org.djunits.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
Modifier and Type | Method and Description |
---|---|
static FloatDirection |
AngleUtil.normalize(FloatDirection angle)
Normalize an angle between 0 and 2 * PI.
|
Modifier and Type | Method and Description |
---|---|
static FloatDirection |
AngleUtil.normalize(FloatDirection angle)
Normalize an angle between 0 and 2 * PI.
|
Modifier and Type | Method and Description |
---|---|
protected FloatDirection |
MutableFloatDirectionMatrix.instantiateScalar(float value,
DirectionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
protected FloatDirection |
FloatDirectionMatrix.instantiateScalar(float value,
DirectionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
Constructor and Description |
---|
FloatDirectionMatrix(FloatDirection[][] values,
StorageType storageType)
Construct a new Absolute Immutable FloatDirectionMatrix.
|
MutableFloatDirectionMatrix(FloatDirection[][] values,
StorageType storageType)
Construct a new Absolute Mutable FloatDirectionMatrix.
|
Modifier and Type | Field and Description |
---|---|
static FloatDirection |
FloatDirection.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static FloatDirection |
FloatDirection.createSI(float value)
Construct FloatDirection scalar.
|
FloatDirection |
FloatDirection.instantiateAbs(float value,
DirectionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
FloatDirection |
FloatAngle.instantiateAbs(float value,
DirectionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
static FloatDirection |
FloatDirection.interpolate(FloatDirection zero,
FloatDirection one,
float ratio)
Interpolate between two values.
|
static FloatDirection |
FloatDirection.max(FloatDirection a1,
FloatDirection a2)
Return the maximum value of two absolute scalars.
|
static FloatDirection |
FloatDirection.max(FloatDirection a1,
FloatDirection a2,
FloatDirection... an)
Return the maximum value of more than two absolute scalars.
|
static FloatDirection |
FloatDirection.min(FloatDirection a1,
FloatDirection a2)
Return the minimum value of two absolute scalars.
|
static FloatDirection |
FloatDirection.min(FloatDirection a1,
FloatDirection a2,
FloatDirection... an)
Return the minimum value of more than two absolute scalars.
|
FloatDirection |
FloatAngle.plus(FloatDirection v)
Relative scalar plus Absolute scalar = Absolute scalar.
|
Modifier and Type | Method and Description |
---|---|
static FloatDirection |
FloatDirection.interpolate(FloatDirection zero,
FloatDirection one,
float ratio)
Interpolate between two values.
|
static FloatDirection |
FloatDirection.max(FloatDirection a1,
FloatDirection a2)
Return the maximum value of two absolute scalars.
|
static FloatDirection |
FloatDirection.max(FloatDirection a1,
FloatDirection a2,
FloatDirection... an)
Return the maximum value of more than two absolute scalars.
|
static FloatDirection |
FloatDirection.max(FloatDirection a1,
FloatDirection a2,
FloatDirection... an)
Return the maximum value of more than two absolute scalars.
|
static FloatDirection |
FloatDirection.min(FloatDirection a1,
FloatDirection a2)
Return the minimum value of two absolute scalars.
|
static FloatDirection |
FloatDirection.min(FloatDirection a1,
FloatDirection a2,
FloatDirection... an)
Return the minimum value of more than two absolute scalars.
|
static FloatDirection |
FloatDirection.min(FloatDirection a1,
FloatDirection a2,
FloatDirection... an)
Return the minimum value of more than two absolute scalars.
|
FloatDirection |
FloatAngle.plus(FloatDirection v)
Relative scalar plus Absolute scalar = Absolute scalar.
|
Constructor and Description |
---|
FloatDirection(FloatDirection value)
Construct FloatDirection scalar.
|
Modifier and Type | Method and Description |
---|---|
protected FloatDirection |
MutableFloatDirectionVector.instantiateScalar(float value,
DirectionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
protected FloatDirection |
FloatDirectionVector.instantiateScalar(float value,
DirectionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
FloatDirection[] |
MutableFloatDirectionVector.toArray()
Return an array of FloatDirection Scalars from this vector.
|
FloatDirection[] |
FloatDirectionVector.toArray()
Return an array of FloatDirection Scalars from this vector.
|
Constructor and Description |
---|
FloatDirectionVector(FloatDirection[] values,
StorageType storageType)
Construct a new Absolute Immutable FloatDirectionVector.
|
MutableFloatDirectionVector(FloatDirection[] values,
StorageType storageType)
Construct a new Absolute Mutable FloatDirectionVector.
|
Constructor and Description |
---|
FloatDirectionVector(List<FloatDirection> values,
StorageType storageType)
Construct a new Absolute Immutable FloatDirectionVector.
|
FloatDirectionVector(SortedMap<Integer,FloatDirection> values,
int length,
StorageType storageType)
Construct a new Absolute Immutable FloatDirectionVector.
|
MutableFloatDirectionVector(List<FloatDirection> values,
StorageType storageType)
Construct a new Absolute Mutable FloatDirectionVector.
|
MutableFloatDirectionVector(SortedMap<Integer,FloatDirection> values,
int length,
StorageType storageType)
Construct a new Absolute Mutable FloatDirectionVector.
|
Copyright © 2015–2018 Delft University of Technology. All rights reserved.