Converting constructor from a quantity point anchored to a different absolute point origin.
Declared in <mp-units/framework/quantity_point.h>
template<QuantityPoint QP>
requires (!QuantityPointOf<QP, absolute_point_origin>) && requires(const QP& src) {
{ src.point_for(point_origin) } -> QuantityPointOf<point_origin>;
quantity_type{src.point_for(point_origin) - point_origin};
}
[[nodiscard]]
constexpr
explicit
quantity_point(QP const& qp);
Re-expresses qp at point_origin via point_for, which requires a frame_projection between the two absolute point origins to be defined.
The return value should not be discarded.
| Name | Description |
|---|---|
| qp | the source quantity point to convert from |