Returns the quantity separating this quantity point from another quantity point.

Synopsis

Declared in <mp‐units/framework/quantity_point.h>

template<QuantityPointOf<absolute_point_origin> QP>
[[nodiscard]]
constexpr
Quantity auto
quantity_from(QP const& qp) const;

Return Value

The result of *this ‐ qp.

Note

The return value should not be discarded.

Parameters

Name

Description

qp

the quantity point to measure the offset from

Created with MrDocs