<mp-units/framework/quantity_point.h>
template<
Reference auto R,
PointOriginFor<get_quantity_spec(R)> auto PO,
RepresentationOf<get_quantity_spec(R)> Rep>
class quantity_point;
Name |
---|
quantity_type |
rep |
Name | Description |
---|---|
quantity_point [constructor] | Constructors |
~quantity_point [destructor] | Destructor |
operator= | Assignment operators |
force_in | |
in | |
operator++ | Increment operators |
operator+= | Addition assignment operator |
operator-- | Decrement operators |
operator-= | Subtraction assignment operator |
point_for | |
quantity_from | |
quantity_from_zero | |
quantity_ref_from [deleted] | |
operator | Conversion operators |
Name |
---|
max |
min |
Name |
---|
quantity_from_origin_is_an_implementation_detail_ |
Name |
---|
absolute_point_origin |
dimension |
point_origin |
quantity_spec |
reference |
unit |
Name | Description |
---|---|
operator<=> |
Three-way comparison operator |
operator== |
Equality operator |
operator- |
|
operator- |
|
operator- |
|
operator- |
|
operator+ |
|
operator+ |
Name | Description |
---|---|
isfinite | Determines if a quantity point is finite. |
isinf | Determines if a quantity point is infinite. |
isnan | Determines if a quantity point is a nan. |
lerp | Linear interpolation or extrapolation |
midpoint | Computes the midpoint of two points |
value_cast | Explicit cast of a quantity point's representation type |
An absolute quantity measured from an origin.
Name | Description |
---|---|
R | a reference of the quantity point providing all information about quantity properties |
PO | a type that represents the origin point from which the quantity point is measured from |
Rep | a type to be used to represent values of a quantity point |