| Package | Description |
|---|---|
| org.djunits.unit |
Classes for the unit system.
|
| 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.
|
| 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 | Field and Description |
|---|---|
static AngleUnit |
UNITS.ARCMINUTE |
static AngleUnit |
AngleUnit.ARCMINUTE
arcminute.
|
static AngleUnit |
UNITS.ARCSECOND |
static AngleUnit |
AngleUnit.ARCSECOND
arcsecond.
|
static AngleUnit |
UNITS.CENTESIMAL_ARCMINUTE |
static AngleUnit |
AngleUnit.CENTESIMAL_ARCMINUTE
centesimal arcminute.
|
static AngleUnit |
UNITS.CENTESIMAL_ARCSECOND |
static AngleUnit |
AngleUnit.CENTESIMAL_ARCSECOND
centesimal arcsecond.
|
static AngleUnit |
UNITS.DEGREE |
static AngleUnit |
AngleUnit.DEGREE
degree.
|
static AngleUnit |
UNITS.GRAD |
static AngleUnit |
AngleUnit.GRAD
grad.
|
static AngleUnit |
AngleUnit.PERCENT
percent (non-linear, 100% is 45 degrees; 90 degrees is infinite).
|
static AngleUnit |
UNITS.RADIAN |
static AngleUnit |
AngleUnit.RADIAN
radian.
|
static AngleUnit |
AngleUnit.SI
The SI unit for angle is radian.
|
| Modifier and Type | Method and Description |
|---|---|
AngleUnit |
AngleUnit.getStandardUnit() |
| Constructor and Description |
|---|
AngleUnit(String name,
String abbreviation,
UnitSystem unitSystem,
AngleUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Abs<AngleUnit> |
AngleUtil.normalize(DoubleScalar.Abs<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
static DoubleScalar.Rel<AngleUnit> |
AngleUtil.normalize(DoubleScalar.Rel<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
static FloatScalar.Abs<AngleUnit> |
AngleUtil.normalize(FloatScalar.Abs<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
static FloatScalar.Rel<AngleUnit> |
AngleUtil.normalize(FloatScalar.Rel<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Abs<AngleUnit> |
AngleUtil.normalize(DoubleScalar.Abs<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
static DoubleScalar.Rel<AngleUnit> |
AngleUtil.normalize(DoubleScalar.Rel<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
static FloatScalar.Abs<AngleUnit> |
AngleUtil.normalize(FloatScalar.Abs<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
static FloatScalar.Rel<AngleUnit> |
AngleUtil.normalize(FloatScalar.Rel<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
protected MutableDirectionMatrix |
MutableDirectionMatrix.instantiateMutableType(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Absolute Mutable DoubleMatrix of the right type.
|
protected MutableAngleMatrix |
MutableAngleMatrix.instantiateMutableType(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Relative Mutable DoubleMatrix of the right type.
|
protected MutableDirectionMatrix |
DirectionMatrix.instantiateMutableType(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Absolute Mutable DoubleMatrix of the right type.
|
protected MutableAngleMatrix |
AngleMatrix.instantiateMutableType(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Relative Mutable DoubleMatrix of the right type.
|
protected AngleMatrix |
MutableAngleMatrix.instantiateType(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected AngleMatrix |
AngleMatrix.instantiateType(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected DirectionMatrix |
MutableDirectionMatrix.instantiateTypeAbs(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Absolute Immutable DoubleMatrix of the right type.
|
protected DirectionMatrix |
DirectionMatrix.instantiateTypeAbs(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Absolute Immutable DoubleMatrix of the right type.
|
protected AngleMatrix |
MutableDirectionMatrix.instantiateTypeRel(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected AngleMatrix |
DirectionMatrix.instantiateTypeRel(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
| Constructor and Description |
|---|
AngleMatrix(double[][] values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double AngleMatrix.
|
AngleMatrix(DoubleMatrixData data,
AngleUnit unit)
Construct a new Relative Immutable Double AngleMatrix.
|
DirectionMatrix(double[][] values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Immutable Double AngleMatrix.
|
DirectionMatrix(DoubleMatrixData data,
AngleUnit unit)
Construct a new Absolute Immutable Double AngleMatrix.
|
MutableAngleMatrix(double[][] values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double AngleMatrix.
|
MutableAngleMatrix(DoubleMatrixData data,
AngleUnit unit)
Construct a new Relative Mutable Double AngleMatrix.
|
MutableDirectionMatrix(double[][] values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Mutable Double DirectionMatrix.
|
MutableDirectionMatrix(DoubleMatrixData data,
AngleUnit unit)
Construct a new Absolute Mutable Double DirectionMatrix.
|
| 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.
|
protected Angle |
Direction.instantiateTypeRel(double value,
AngleUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Angle |
Angle.instantiateTypeRel(double value,
AngleUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
| Constructor and Description |
|---|
Angle(double value,
AngleUnit unit)
Construct Angle scalar.
|
Direction(double value,
AngleUnit unit)
Construct Direction scalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected MutableDirectionVector |
MutableDirectionVector.instantiateMutableType(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Absolute Mutable DoubleVector of the right type.
|
protected MutableAngleVector |
MutableAngleVector.instantiateMutableType(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Relative Mutable DoubleVector of the right type.
|
protected MutableDirectionVector |
DirectionVector.instantiateMutableType(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Absolute Mutable DoubleVector of the right type.
|
protected MutableAngleVector |
AngleVector.instantiateMutableType(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Relative Mutable DoubleVector of the right type.
|
protected AngleVector |
MutableAngleVector.instantiateType(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected AngleVector |
AngleVector.instantiateType(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected DirectionVector |
MutableDirectionVector.instantiateTypeAbs(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Absolute Immutable DoubleVector of the right type.
|
protected DirectionVector |
DirectionVector.instantiateTypeAbs(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Absolute Immutable DoubleVector of the right type.
|
protected AngleVector |
MutableDirectionVector.instantiateTypeRel(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected AngleVector |
DirectionVector.instantiateTypeRel(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
| Constructor and Description |
|---|
AngleVector(double[] values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double AngleVector.
|
AngleVector(DoubleVectorData data,
AngleUnit unit)
Construct a new Relative Immutable Double AngleVector.
|
AngleVector(List<Double> values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double AngleVector.
|
AngleVector(SortedMap<Integer,Double> values,
AngleUnit unit,
int length,
StorageType storageType)
Construct a new Relative Immutable Double AngleVector.
|
DirectionVector(double[] values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Immutable Double DirectionVector.
|
DirectionVector(DoubleVectorData data,
AngleUnit unit)
Construct a new Absolute Immutable Double DirectionVector.
|
DirectionVector(List<Double> values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Immutable Double DirectionVector.
|
DirectionVector(SortedMap<Integer,Double> values,
AngleUnit unit,
int length,
StorageType storageType)
Construct a new Absolute Immutable Double DirectionVector.
|
MutableAngleVector(double[] values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double AngleVector.
|
MutableAngleVector(DoubleVectorData data,
AngleUnit unit)
Construct a new Relative Mutable Double AngleVector.
|
MutableAngleVector(List<Double> values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double AngleVector.
|
MutableAngleVector(SortedMap<Integer,Double> values,
AngleUnit unit,
int length,
StorageType storageType)
Construct a new Relative Mutable Double AngleVector.
|
MutableDirectionVector(double[] values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Mutable Double DirectionVector.
|
MutableDirectionVector(DoubleVectorData data,
AngleUnit unit)
Construct a new Absolute Mutable Double DirectionVector.
|
MutableDirectionVector(List<Double> values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Mutable Double DirectionVector.
|
MutableDirectionVector(SortedMap<Integer,Double> values,
AngleUnit unit,
int length,
StorageType storageType)
Construct a new Absolute Mutable Double DirectionVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected MutableFloatDirectionMatrix |
MutableFloatDirectionMatrix.instantiateMutableType(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Absolute Mutable FloatMatrix of the right type.
|
protected MutableFloatAngleMatrix |
MutableFloatAngleMatrix.instantiateMutableType(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Relative Mutable FloatMatrix of the right type.
|
protected MutableFloatDirectionMatrix |
FloatDirectionMatrix.instantiateMutableType(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Absolute Mutable FloatMatrix of the right type.
|
protected MutableFloatAngleMatrix |
FloatAngleMatrix.instantiateMutableType(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Relative Mutable FloatMatrix of the right type.
|
protected FloatAngleMatrix |
MutableFloatAngleMatrix.instantiateType(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatAngleMatrix |
FloatAngleMatrix.instantiateType(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatDirectionMatrix |
MutableFloatDirectionMatrix.instantiateTypeAbs(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Absolute Immutable FloatMatrix of the right type.
|
protected FloatDirectionMatrix |
FloatDirectionMatrix.instantiateTypeAbs(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Absolute Immutable FloatMatrix of the right type.
|
protected FloatAngleMatrix |
MutableFloatDirectionMatrix.instantiateTypeRel(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatAngleMatrix |
FloatDirectionMatrix.instantiateTypeRel(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
| Constructor and Description |
|---|
FloatAngleMatrix(float[][] values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatAngleMatrix.
|
FloatAngleMatrix(FloatMatrixData data,
AngleUnit unit)
Construct a new Relative Immutable FloatAngleMatrix.
|
FloatDirectionMatrix(float[][] values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Immutable FloatDirectionMatrix.
|
FloatDirectionMatrix(FloatMatrixData data,
AngleUnit unit)
Construct a new Absolute Immutable FloatDirectionMatrix.
|
MutableFloatAngleMatrix(float[][] values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatAngleMatrix.
|
MutableFloatAngleMatrix(FloatMatrixData data,
AngleUnit unit)
Construct a new Relative Mutable FloatAngleMatrix.
|
MutableFloatDirectionMatrix(float[][] values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Mutable FloatDirectionMatrix.
|
MutableFloatDirectionMatrix(FloatMatrixData data,
AngleUnit unit)
Construct a new Absolute Mutable FloatDirectionMatrix.
|
| Modifier and Type | Method and Description |
|---|---|
protected FloatDirection |
FloatDirection.instantiateTypeAbs(float value,
AngleUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
protected FloatDirection |
FloatAngle.instantiateTypeAbs(float value,
AngleUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
protected FloatAngle |
FloatDirection.instantiateTypeRel(float value,
AngleUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatAngle |
FloatAngle.instantiateTypeRel(float value,
AngleUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
| Constructor and Description |
|---|
FloatAngle(double value,
AngleUnit unit)
Construct FloatAngle scalar using a double value.
|
FloatAngle(float value,
AngleUnit unit)
Construct FloatAngle scalar.
|
FloatDirection(double value,
AngleUnit unit)
Construct FloatDirection scalar using a double value.
|
FloatDirection(float value,
AngleUnit unit)
Construct FloatDirection scalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected MutableFloatDirectionVector |
MutableFloatDirectionVector.instantiateMutableType(FloatVectorData dvd,
AngleUnit unit)
Construct a new Absolute Mutable FloatVector of the right type.
|
protected MutableFloatAngleVector |
MutableFloatAngleVector.instantiateMutableType(FloatVectorData dvd,
AngleUnit unit)
Construct a new Relative Mutable FloatVector of the right type.
|
protected MutableFloatDirectionVector |
FloatDirectionVector.instantiateMutableType(FloatVectorData dvd,
AngleUnit unit)
Construct a new Absolute Mutable FloatVector of the right type.
|
protected MutableFloatAngleVector |
FloatAngleVector.instantiateMutableType(FloatVectorData dvd,
AngleUnit unit)
Construct a new Relative Mutable FloatVector of the right type.
|
protected FloatAngleVector |
MutableFloatAngleVector.instantiateType(FloatVectorData dvd,
AngleUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatAngleVector |
FloatAngleVector.instantiateType(FloatVectorData dvd,
AngleUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatDirectionVector |
MutableFloatDirectionVector.instantiateTypeAbs(FloatVectorData dvd,
AngleUnit unit)
Construct a new Absolute Immutable FloatVector of the right type.
|
protected FloatDirectionVector |
FloatDirectionVector.instantiateTypeAbs(FloatVectorData dvd,
AngleUnit unit)
Construct a new Absolute Immutable FloatVector of the right type.
|
protected FloatAngleVector |
MutableFloatDirectionVector.instantiateTypeRel(FloatVectorData dvd,
AngleUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatAngleVector |
FloatDirectionVector.instantiateTypeRel(FloatVectorData dvd,
AngleUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
| Constructor and Description |
|---|
FloatAngleVector(float[] values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatAngleVector.
|
FloatAngleVector(FloatVectorData data,
AngleUnit unit)
Construct a new Relative Immutable FloatAngleVector.
|
FloatAngleVector(List<Float> values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatAngleVector.
|
FloatAngleVector(SortedMap<Integer,Float> values,
AngleUnit unit,
int length,
StorageType storageType)
Construct a new Relative Immutable FloatAngleVector.
|
FloatDirectionVector(float[] values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Immutable FloatDirectionVector.
|
FloatDirectionVector(FloatVectorData data,
AngleUnit unit)
Construct a new Absolute Immutable FloatDirectionVector.
|
FloatDirectionVector(List<Float> values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Immutable FloatDirectionVector.
|
FloatDirectionVector(SortedMap<Integer,Float> values,
AngleUnit unit,
int length,
StorageType storageType)
Construct a new Absolute Immutable FloatDirectionVector.
|
MutableFloatAngleVector(float[] values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatAngleVector.
|
MutableFloatAngleVector(FloatVectorData data,
AngleUnit unit)
Construct a new Relative Mutable FloatAngleVector.
|
MutableFloatAngleVector(List<Float> values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatAngleVector.
|
MutableFloatAngleVector(SortedMap<Integer,Float> values,
AngleUnit unit,
int length,
StorageType storageType)
Construct a new Relative Mutable FloatAngleVector.
|
MutableFloatDirectionVector(float[] values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Mutable FloatDirectionVector.
|
MutableFloatDirectionVector(FloatVectorData data,
AngleUnit unit)
Construct a new Absolute Mutable FloatDirectionVector.
|
MutableFloatDirectionVector(List<Float> values,
AngleUnit unit,
StorageType storageType)
Construct a new Absolute Mutable FloatDirectionVector.
|
MutableFloatDirectionVector(SortedMap<Integer,Float> values,
AngleUnit unit,
int length,
StorageType storageType)
Construct a new Absolute Mutable FloatDirectionVector.
|
Copyright © 2015–2016 Delft University of Technology. All rights reserved.