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) LengthMatrix.instantiateMatrixAbs
(DoubleMatrixData dmd, PositionUnit displayUnit) LengthMatrix.instantiateScalarAbsSI
(double valueSI, PositionUnit displayUnit) PositionMatrix.instantiateScalarSI
(double valueSI, PositionUnit displayUnit) PositionMatrix.instantiateVector
(DoubleVectorData dvd, PositionUnit displayUnit) LengthMatrix.instantiateVectorAbs
(DoubleVectorData dvd, PositionUnit displayUnit) 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) final Position
Position.instantiateAbs
(double value, PositionUnit unit) 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) PositionVector.instantiateScalarSI
(double valueSI, PositionUnit displayUnit) PositionVector.instantiateVector
(DoubleVectorData dvd, PositionUnit displayUnit) LengthVector.instantiateVectorAbs
(DoubleVectorData dvd, PositionUnit displayUnit) 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) FloatLengthMatrix.instantiateMatrixAbs
(FloatMatrixData fmd, PositionUnit displayUnit) FloatLengthMatrix.instantiateScalarAbsSI
(float valueSI, PositionUnit displayUnit) FloatPositionMatrix.instantiateScalarSI
(float valueSI, PositionUnit displayUnit) FloatPositionMatrix.instantiateVector
(FloatVectorData fvd, PositionUnit displayUnit) FloatLengthMatrix.instantiateVectorAbs
(FloatVectorData fvd, PositionUnit displayUnit) 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) final FloatPosition
FloatPosition.instantiateAbs
(float value, PositionUnit unit) 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) FloatPositionVector.instantiateScalarSI
(float valueSI, PositionUnit displayUnit) FloatPositionVector.instantiateVector
(FloatVectorData fvd, PositionUnit displayUnit) FloatLengthVector.instantiateVectorAbs
(FloatVectorData fvd, PositionUnit displayUnit) 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.