A quantity point
Synopsis
Declared in <mp‐units/framework/quantity_point.h>
template<
Reference auto R,
PointOriginFor<get_quantity_spec®> auto PO,
RepresentationOf<get_quantity_spec®> Rep>
class quantity_point;
Types
Name |
Member Functions
Name |
Description |
|
Constructors |
|
Destructor |
Assignment operators |
|
Increment operators |
|
Addition assignment operator |
|
Decrement operators |
|
Subtraction assignment operator |
|
|
|
Conversion operators |
Data Members
Static Data Members
Friends
Name |
Description |
Three‐way comparison operator |
|
Equality operator |
|
Non-Member Functions
Name |
Description |
Determines if a quantity point is finite. |
|
Determines if a quantity point is infinite. |
|
Determines if a quantity point is a nan. |
|
Linear interpolation or extrapolation |
|
Computes the midpoint of two points |
|
Explicit cast of a quantity point's representation type |
Description
An absolute quantity measured from an origin.
Template Parameters
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 |
Created with MrDocs