VectorMeasure class abstract

A measurement vector of two or more dimensions.

Inheritance

Constructors

VectorMeasure.multiDimensional(List<double> components, Unit unit)
Creates a multi-dimensional measurement vector.
factory
VectorMeasure.threeDimensional(double x, double y, double z, Unit unit)
Creates a 3-dimensional measurement vector.
factory
VectorMeasure.twoDimensional(double x, double y, Unit unit)
Creates a 2-dimensional measurement vector.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
standardUnit Unit
The standard unit identifies the "type" of Quantity quantity for which this measurable is employed.
no setterinherited
unit Unit
The measurement unit of this measure.
no setterinherited
value List<double>
The measurement value of this measure.
no setterinherited

Methods

compareTo(Measurable other) int
Compares this object to another object.
inherited
doubleValue(Unit unit) double
Returns the value of this measurable stated in the specified unit as a double.
inherited
intValue(Unit unit) int
Returns the estimated integral value of this measurable stated in the specified unit as an integer.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
to(Unit unit) Measure<List<double>>
Returns the measure equivalent to this measure but stated in the specified unit.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited