23#include "units/Distance.h"
24#include "units/Speed.h"
25#include "units/Timespan.h"
26#include "units/Volume.h"
27#include "units/VolumeFlow.h"
44 if ((!dist.isFinite()) || (!time.isFinite()) || (qFuzzyIsNull(time.toS()))) {
62 if ((!dist.isFinite()) || (!speed.isFinite()) || (qFuzzyIsNull(speed.toMPS()))) {
80 if (!volumeFlow.isFinite() || !time.isFinite()) {
Convenience class for distance computations.
Convenience class for speed computations.
static Q_INVOKABLE constexpr Units::Speed fromMPS(double speedInMPS)
Constructs a speed.
Convenience class for time computations.
static auto fromS(double timeInS) -> Timespan
Constructs a time.
Convenience class for volume flow computations.
Convenience class for volume computations.
static constexpr auto fromL(double volumeInL) -> Volume
Constructs a volume.