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 |
UNITS.PERCENT |
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 scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
DirectionUnit(String name,
String abbreviation,
UnitSystem unitSystem,
double scaleFactor,
double offset,
AngleUnit relativeUnit)
Build a user-defined DirectionUnit with a scale factor and offset to the base DirectionUnit.
|
Modifier and Type | Method and Description |
---|---|
static DoubleScalar.Abs<DirectionUnit,AngleUnit> |
AngleUtil.normalize(DoubleScalar.Abs<DirectionUnit,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<DirectionUnit,AngleUnit> |
AngleUtil.normalize(FloatScalar.Abs<DirectionUnit,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<DirectionUnit,AngleUnit> |
AngleUtil.normalize(DoubleScalar.Abs<DirectionUnit,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<DirectionUnit,AngleUnit> |
AngleUtil.normalize(FloatScalar.Abs<DirectionUnit,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 MutableAngleMatrix |
MutableAngleMatrix.instantiateMutableType(DoubleMatrixData dmd,
AngleUnit unit)
Construct a new Relative 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 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.
|
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 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
Angle(double value,
AngleUnit unit)
Construct Angle scalar.
|
Modifier and Type | Method and Description |
---|---|
protected MutableAngleVector |
MutableAngleVector.instantiateMutableType(DoubleVectorData dvd,
AngleUnit unit)
Construct a new Relative 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 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.
|
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 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected MutableFloatAngleMatrix |
MutableFloatAngleMatrix.instantiateMutableType(FloatMatrixData fmd,
AngleUnit unit)
Construct a new Relative 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 FloatAngle |
MutableFloatAngleMatrix.instantiateScalar(float value,
AngleUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatAngle |
FloatAngleMatrix.instantiateScalar(float value,
AngleUnit unit)
Construct a new Relative Immutable FloatScalar 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 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.
|
MutableFloatAngleMatrix(float[][] values,
AngleUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatAngleMatrix.
|
MutableFloatAngleMatrix(FloatMatrixData data,
AngleUnit unit)
Construct a new Relative Mutable FloatAngleMatrix.
|
Modifier and Type | Method and Description |
---|---|
FloatAngle |
FloatDirection.instantiateRel(float value,
AngleUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
FloatAngle |
FloatAngle.instantiateRel(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.
|
Modifier and Type | Method and Description |
---|---|
protected MutableFloatAngleVector |
MutableFloatAngleVector.instantiateMutableType(FloatVectorData dvd,
AngleUnit unit)
Construct a new Relative 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 FloatAngle |
MutableFloatAngleVector.instantiateScalar(float value,
AngleUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatAngle |
FloatAngleVector.instantiateScalar(float value,
AngleUnit unit)
Construct a new Relative Immutable FloatScalar 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 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.
|
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.
|
Copyright © 2015–2018 Delft University of Technology. All rights reserved.