mp_units::quantity_point::point_for

Re-expresses this quantity point relative to another point origin that shares the same absolute point origin.

Synopsis

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

template</* implementation-defined */ NewPO>
[[nodiscard]]
constexpr
QuantityPointOf<(NewPO{})> auto
point_for(NewPO new_origin) const;

Return Value

This quantity point measured from new_origin.

NOTE

The return value should not be discarded.

Parameters

NameDescription
new_originthe point origin to express this quantity point from