Re-expresses this quantity point relative to a point origin anchored to a different absolute point origin, via a user-defined frame_projection.
Declared in <mp-units/framework/quantity_point.h>
template<
PointOrigin NewPO,
typename... Args>
requires detail::HasFrameProjection<absolute_point_origin, detail::get_absolute_point_origin(NewPO{})> &&
requires(quantity_point<reference, absolute_point_origin, Rep> at_src, Args... args) {
{
frame_projection<absolute_point_origin, detail::get_absolute_point_origin(NewPO{})>(at_src, args...)
} -> QuantityPointOf<detail::get_absolute_point_origin(NewPO{})>;
}
[[nodiscard]]
constexpr
QuantityPointOf<(NewPO{})> auto
point_for(
NewPO new_origin,
Args&&... args) const;
This quantity point measured from new_origin.
The return value should not be discarded.
| Name | Description |
|---|---|
| new_origin | the point origin to express this quantity point from |
| args | extra arguments forwarded to the frame_projection between the two absolute point origins |