point_for overloads
Synopses
Declared in <mp‐units/framework/quantity_point.h>
Re‐expresses this quantity point relative to another point origin that shares the same absolute point origin.
template</* implementation-defined */ NewPO>
[[nodiscard]]
constexpr
QuantityPointOf<(NewPO{})> auto
point_for(NewPO new_origin) const;
Re‐expresses this quantity point relative to a point origin anchored to a different absolute point origin, via a user‐defined frame_projection.
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;
Return Value
This quantity point measured from new_origin.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
new_origin |
the point origin to express this quantity point from |
args |
extra arguments forwarded to the |
Created with MrDocs