Returns the quantity separating this quantity point from a given point origin.
Synopsis
Declared in <mp‐units/framework/quantity_point.h>
template<PointOrigin PO2>
requires requires(const quantity_point qp) { qp ‐ PO2{}; }
[[nodiscard]]
constexpr
Quantity auto
quantity_from(PO2 po) const;
Return Value
The result of *this ‐ po.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
po |
the point origin to measure the offset from |
Created with MrDocs