[#mp_units-quantity_point-08-point_for-0b] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity_point-08.adoc[quantity_point]::point_for :relfileprefix: ../../ :mrdocs: Re‐expresses this quantity point relative to a point origin anchored to a different absolute point origin, via a user‐defined `frame_projection`. == Synopsis Declared in `<mp‐units/framework/quantity_point.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< xref:mp_units/PointOrigin.adoc[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 xref:mp_units/QuantityPointOf.adoc[QuantityPointOf<(NewPO{})>] auto point_for( NewPO new_origin, Args&&... args) const; ---- == Return Value This quantity point measured from `new_origin`. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | 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 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#