Uses of Class
org.djunits.unit.PositionUnit
Package
Description
Units for version 4 of DJUNITS.
Utility classes for the unit package.
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
Double Scalar storage and calculations with units, absolute/relative.Note: All code in this package is generated.
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
Float Scalar storage and calculations with units, absolute/relative.
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
-
Uses of PositionUnit in org.djunits.unit
Modifier and TypeFieldDescriptionstatic final PositionUnit
PositionUnit.ANGSTROM
Angstrom = 10^-10 m.static final PositionUnit
PositionUnit.ASTRONOMICAL_UNIT
Astronomical Unit = 149,597,870,700 m.static final PositionUnit
PositionUnit.CENTIMETER
cm.static final PositionUnit
PositionUnit.DECAMETER
dam.static final PositionUnit
PositionUnit.DECIMETER
dm.static final PositionUnit
PositionUnit.DEFAULT
The SI unit for position is meter.static final PositionUnit
PositionUnit.FOOT
foot (international) = 0.3048 m = 1/3 yd = 12 inches.static final PositionUnit
PositionUnit.HECTOMETER
hm.static final PositionUnit
PositionUnit.INCH
inch (international) = 2.54 cm = 1/36 yd = 1/12 ft.static final PositionUnit
PositionUnit.KILOMETER
km.static final PositionUnit
PositionUnit.LIGHTYEAR
Lightyear = 9,460,730,472,580,800 m.static final PositionUnit
PositionUnit.METER
meter.static final PositionUnit
PositionUnit.MICROMETER
µm.static final PositionUnit
PositionUnit.MILE
mile (international) = 5280 ft = 1760 yd.static final PositionUnit
PositionUnit.MILLIMETER
mm.static final PositionUnit
PositionUnit.NANOMETER
nm.static final PositionUnit
PositionUnit.NAUTICAL_MILE
nautical mile (international) = 1852 m.static final PositionUnit
PositionUnit.PARSEC
Parsec = 648,000 / PI ly.static final PositionUnit
PositionUnit.YARD
yard (international) = 0.9144 m = 3 ft = 36 in.Modifier and TypeFieldDescriptionstatic final Quantity<PositionUnit>
PositionUnit.BASE
The base, with "m" as the SI signature. -
Uses of PositionUnit in org.djunits.unit.util
Modifier and TypeFieldDescriptionstatic final PositionUnit
UNITS.ANGSTROM_ABS
static final PositionUnit
UNITS.ASTRONOMICAL_UNIT_ABS
static final PositionUnit
UNITS.CENTIMETER_ABS
static final PositionUnit
UNITS.DECAMETER_ABS
static final PositionUnit
UNITS.DECIMETER_ABS
static final PositionUnit
UNITS.FOOT_ABS
static final PositionUnit
UNITS.HECTOMETER_ABS
static final PositionUnit
UNITS.INCH_ABS
static final PositionUnit
UNITS.KILOMETER_ABS
static final PositionUnit
UNITS.LIGHTYEAR_ABS
static final PositionUnit
UNITS.METER_ABS
static final PositionUnit
UNITS.MICROMETER_ABS
static final PositionUnit
UNITS.MILE_ABS
static final PositionUnit
UNITS.MILLIMETER_ABS
static final PositionUnit
UNITS.NANOMETER_ABS
static final PositionUnit
UNITS.NAUTICAL_MILE_ABS
static final PositionUnit
UNITS.PARSEC_ABS
static final PositionUnit
UNITS.YARD_ABS
-
Uses of PositionUnit in org.djunits.value.vdouble.matrix
Modifier and TypeMethodDescriptionPositionMatrix.instantiateMatrix
(DoubleMatrixData dmd, PositionUnit displayUnit) Instantiate a new matrix of the class of this matrix.LengthMatrix.instantiateMatrixAbs
(DoubleMatrixData dmd, PositionUnit displayUnit) Instantiate a new absolute matrix of the class of this relative matrix.LengthMatrix.instantiateScalarAbsSI
(double valueSI, PositionUnit displayUnit) Instantiate a new absolute scalar for the class of this relative matrix.PositionMatrix.instantiateScalarSI
(double valueSI, PositionUnit displayUnit) Instantiate a new scalar for the class of this matrix.PositionMatrix.instantiateVector
(DoubleVectorData dvd, PositionUnit displayUnit) Instantiate a new vector of the class of this matrix.LengthMatrix.instantiateVectorAbs
(DoubleVectorData dvd, PositionUnit displayUnit) Instantiate a new absolute vector of the class of this relative matrix.ModifierConstructorDescriptionPositionMatrix
(double[][] data, PositionUnit displayUnit) Construct a PositionMatrix from a double[][] object.PositionMatrix
(double[][] data, PositionUnit displayUnit, StorageType storageType) Construct a PositionMatrix from a double[][] object.PositionMatrix
(Collection<DoubleSparseValue<PositionUnit, Position>> data, PositionUnit displayUnit, int rows, int cols) Construct a PositionMatrix from a (sparse) collection of DoubleSparseValue objects.PositionMatrix
(Collection<DoubleSparseValue<PositionUnit, Position>> data, PositionUnit displayUnit, int rows, int cols, StorageType storageType) Construct a PositionMatrix from a (sparse) collection of DoubleSparseValue objects.PositionMatrix
(DoubleMatrixData data, PositionUnit displayUnit) Construct a PositionMatrix from an internal data object.PositionMatrix
(Position[][] data, PositionUnit displayUnit) Construct a PositionMatrix from an array of an array of Position objects.PositionMatrix
(Position[][] data, PositionUnit displayUnit, StorageType storageType) Construct a PositionMatrix from an array of an array of Position objects.ModifierConstructorDescriptionPositionMatrix
(Collection<DoubleSparseValue<PositionUnit, Position>> data, int rows, int cols) Construct a PositionMatrix from a (sparse) collection of DoubleSparseValue objects.PositionMatrix
(Collection<DoubleSparseValue<PositionUnit, Position>> data, int rows, int cols, StorageType storageType) Construct a PositionMatrix from a (sparse) collection of DoubleSparseValue objects.PositionMatrix
(Collection<DoubleSparseValue<PositionUnit, Position>> data, PositionUnit displayUnit, int rows, int cols) Construct a PositionMatrix from a (sparse) collection of DoubleSparseValue objects.PositionMatrix
(Collection<DoubleSparseValue<PositionUnit, Position>> data, PositionUnit displayUnit, int rows, int cols, StorageType storageType) Construct a PositionMatrix from a (sparse) collection of DoubleSparseValue objects. -
Uses of PositionUnit in org.djunits.value.vdouble.scalar
Modifier and TypeMethodDescriptionfinal Position
Length.instantiateAbs
(double value, PositionUnit unit) Construct a new Absolute Immutable DoubleScalar of the right type.final Position
Position.instantiateAbs
(double value, PositionUnit unit) Construct a new Absolute Immutable DoubleScalar of the right type.ModifierConstructorDescriptionPosition
(double value, PositionUnit unit) Construct Position scalar. -
Uses of PositionUnit in org.djunits.value.vdouble.vector
Modifier and TypeMethodDescriptionLengthVector.instantiateScalarAbsSI
(double valueSI, PositionUnit displayUnit) Instantiate a new absolute scalar for the class of this relative vector.PositionVector.instantiateScalarSI
(double valueSI, PositionUnit displayUnit) Instantiate a new scalar for the class of this vector.PositionVector.instantiateVector
(DoubleVectorData dvd, PositionUnit displayUnit) Instantiate a new vector of the class of this vector.LengthVector.instantiateVectorAbs
(DoubleVectorData dvd, PositionUnit displayUnit) Instantiate a new absolute vector of the class of this relative vector.ModifierConstructorDescriptionPositionVector
(double[] data, PositionUnit displayUnit) Construct an PositionVector from a double[] object.PositionVector
(double[] data, PositionUnit displayUnit, StorageType storageType) Construct an PositionVector from a double[] object.PositionVector
(List<? extends Number> data, PositionUnit displayUnit) Construct an PositionVector from a list of Number objects or a list of Position objects.PositionVector
(List<? extends Number> data, PositionUnit displayUnit, StorageType storageType) Construct an PositionVector from a list of Number objects or a list of Position objects.PositionVector
(Map<Integer, ? extends Number> data, int size, PositionUnit displayUnit) Construct an PositionVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Position objects.PositionVector
(Map<Integer, ? extends Number> data, int size, PositionUnit displayUnit, StorageType storageType) Construct an PositionVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Position objects.PositionVector
(Position[] data, PositionUnit displayUnit) Construct an PositionVector from an array of Position objects.PositionVector
(Position[] data, PositionUnit displayUnit, StorageType storageType) Construct an PositionVector from an array of Position objects.PositionVector
(DoubleVectorData data, PositionUnit displayUnit) Construct an PositionVector from an internal data object. -
Uses of PositionUnit in org.djunits.value.vfloat.matrix
Modifier and TypeMethodDescriptionFloatPositionMatrix.instantiateMatrix
(FloatMatrixData fmd, PositionUnit displayUnit) Instantiate a new matrix of the class of this matrix.FloatLengthMatrix.instantiateMatrixAbs
(FloatMatrixData fmd, PositionUnit displayUnit) Instantiate a new absolute matrix of the class of this relative matrix.FloatLengthMatrix.instantiateScalarAbsSI
(float valueSI, PositionUnit displayUnit) Instantiate a new absolute scalar for the class of this relative matrix.FloatPositionMatrix.instantiateScalarSI
(float valueSI, PositionUnit displayUnit) Instantiate a new scalar for the class of this matrix.FloatPositionMatrix.instantiateVector
(FloatVectorData fvd, PositionUnit displayUnit) Instantiate a new vector of the class of this matrix.FloatLengthMatrix.instantiateVectorAbs
(FloatVectorData fvd, PositionUnit displayUnit) Instantiate a new absolute vector of the class of this relative matrix.ModifierConstructorDescriptionFloatPositionMatrix
(float[][] data, PositionUnit displayUnit) Construct a FloatPositionMatrix from a float[][] object.FloatPositionMatrix
(float[][] data, PositionUnit displayUnit, StorageType storageType) Construct a FloatPositionMatrix from a float[][] object.FloatPositionMatrix
(Collection<FloatSparseValue<PositionUnit, FloatPosition>> data, PositionUnit displayUnit, int rows, int cols) Construct a FloatPositionMatrix from a (sparse) collection of FloatSparseValue objects.FloatPositionMatrix
(Collection<FloatSparseValue<PositionUnit, FloatPosition>> data, PositionUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatPositionMatrix from a (sparse) collection of FloatSparseValue objects.FloatPositionMatrix
(FloatMatrixData data, PositionUnit displayUnit) Construct a PositionMatrix from an internal data object.FloatPositionMatrix
(FloatPosition[][] data, PositionUnit displayUnit) Construct a FloatPositionMatrix from an array of an array of FloatPosition objects.FloatPositionMatrix
(FloatPosition[][] data, PositionUnit displayUnit, StorageType storageType) Construct a FloatPositionMatrix from an array of an array of FloatPosition objects.ModifierConstructorDescriptionFloatPositionMatrix
(Collection<FloatSparseValue<PositionUnit, FloatPosition>> data, int rows, int cols) Construct a FloatPositionMatrix from a (sparse) collection of FloatSparseValue objects.FloatPositionMatrix
(Collection<FloatSparseValue<PositionUnit, FloatPosition>> data, int rows, int cols, StorageType storageType) Construct a FloatPositionMatrix from a (sparse) collection of FloatSparseValue objects.FloatPositionMatrix
(Collection<FloatSparseValue<PositionUnit, FloatPosition>> data, PositionUnit displayUnit, int rows, int cols) Construct a FloatPositionMatrix from a (sparse) collection of FloatSparseValue objects.FloatPositionMatrix
(Collection<FloatSparseValue<PositionUnit, FloatPosition>> data, PositionUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatPositionMatrix from a (sparse) collection of FloatSparseValue objects. -
Uses of PositionUnit in org.djunits.value.vfloat.scalar
Modifier and TypeMethodDescriptionfinal FloatPosition
FloatLength.instantiateAbs
(float value, PositionUnit unit) Construct a new Absolute Immutable FloatScalar of the right type.final FloatPosition
FloatPosition.instantiateAbs
(float value, PositionUnit unit) Construct a new Absolute Immutable FloatScalar of the right type.ModifierConstructorDescriptionFloatPosition
(double value, PositionUnit unit) Construct FloatPosition scalar using a double value.FloatPosition
(float value, PositionUnit unit) Construct FloatPosition scalar. -
Uses of PositionUnit in org.djunits.value.vfloat.vector
Modifier and TypeMethodDescriptionFloatLengthVector.instantiateScalarAbsSI
(float valueSI, PositionUnit displayUnit) Instantiate a new absolute scalar for the class of this relative vector.FloatPositionVector.instantiateScalarSI
(float valueSI, PositionUnit displayUnit) Instantiate a new scalar for the class of this vector.FloatPositionVector.instantiateVector
(FloatVectorData fvd, PositionUnit displayUnit) Instantiate a new vector of the class of this vector.FloatLengthVector.instantiateVectorAbs
(FloatVectorData fvd, PositionUnit displayUnit) Instantiate a new absolute vector of the class of this relative vector.ModifierConstructorDescriptionFloatPositionVector
(float[] data, PositionUnit displayUnit) Construct a FloatPositionVector from a float[] object.FloatPositionVector
(float[] data, PositionUnit displayUnit, StorageType storageType) Construct a FloatPositionVector from a float[] object.FloatPositionVector
(List<? extends Number> data, PositionUnit displayUnit) Construct a FloatPositionVector from a list of Number objects or a list of FloatPosition objects.FloatPositionVector
(List<? extends Number> data, PositionUnit displayUnit, StorageType storageType) Construct a FloatPositionVector from a list of Number objects or a list of FloatPosition objects.FloatPositionVector
(Map<Integer, ? extends Number> data, int size, PositionUnit displayUnit) Construct a FloatPositionVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatPosition objects.FloatPositionVector
(Map<Integer, ? extends Number> data, int size, PositionUnit displayUnit, StorageType storageType) Construct a FloatPositionVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatPosition objects.FloatPositionVector
(FloatPosition[] data, PositionUnit displayUnit) Construct a FloatPositionVector from an array of FloatPosition objects.FloatPositionVector
(FloatPosition[] data, PositionUnit displayUnit, StorageType storageType) Construct a FloatPositionVector from an array of FloatPosition objects.FloatPositionVector
(FloatVectorData data, PositionUnit displayUnit) Construct a FloatPositionVector from an internal data object.