[#mp_units-quantity_point-08]
= xref:mp_units.adoc[mp&lowbar;units]::quantity&lowbar;point
:relfileprefix: ../
:mrdocs:

A quantity point

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;framework&sol;quantity&lowbar;point&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    xref:mp_units/Reference.adoc[Reference] auto R,
    xref:mp_units/PointOriginFor.adoc[PointOriginFor&lt;get&lowbar;quantity&lowbar;spec(R)&gt;] auto PO = default&lowbar;point&lowbar;origin(R),
    xref:mp_units/RepresentationOf.adoc[RepresentationOf&lt;get&lowbar;quantity&lowbar;spec(R)&gt;] Rep = double&gt;
class quantity&lowbar;point
    : public &sol;&ast; implementation-defined &ast;&sol;
----

== Description

An absolute quantity measured from an origin&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `&sol;&ast; implementation-defined &ast;&sol;`
| 
|===

== Type Aliases

[cols="1"]
|===
| Name
| xref:mp_units/quantity_point-08/quantity_type.adoc[`quantity&lowbar;type`] 
| xref:mp_units/quantity_point-08/rep.adoc[`rep`] 
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:mp_units/quantity_point-08/2constructor-075.adoc[`quantity&lowbar;point`]         [.small]#[constructor]#
| Constructors
| xref:mp_units/quantity_point-08/force_in-03.adoc[`force&lowbar;in`] 
| 
| xref:mp_units/quantity_point-08/in-0a.adoc[`in`] 
| 
| xref:mp_units/quantity_point-08/operator_inc-0d.adoc[`operator&plus;&plus;`] 
| Increment operators
| xref:mp_units/quantity_point-08/operator_plus_eq.adoc[`operator&plus;&equals;`] 
| Addition assignment operator
| xref:mp_units/quantity_point-08/operator_dec-0f.adoc[`operator&hyphen;&hyphen;`] 
| Decrement operators
| xref:mp_units/quantity_point-08/operator_minus_eq.adoc[`operator&hyphen;&equals;`] 
| Subtraction assignment operator
| xref:mp_units/quantity_point-08/point_for-0e.adoc[`point&lowbar;for`] 
| 
| xref:mp_units/quantity_point-08/quantity_from-00.adoc[`quantity&lowbar;from`] 
| 
| xref:mp_units/quantity_point-08/quantity_from_zero.adoc[`quantity&lowbar;from&lowbar;zero`] 
| 
| xref:mp_units/quantity_point-08/quantity_ref_from-05.adoc[`quantity&lowbar;ref&lowbar;from`] 
| 
| xref:mp_units/quantity_point-08/2conversion-046.adoc[`operator `] 
| Conversion operators
|===


== Static Member Functions

[cols="1"]
|===
| Name
| xref:mp_units/quantity_point-08/max.adoc[`max`] 
| xref:mp_units/quantity_point-08/min.adoc[`min`] 
| xref:mp_units/quantity_point-08/zero.adoc[`zero`] 
|===


== Data Members

[cols="1"]
|===
| Name
| xref:mp_units/quantity_point-08/quantity_from_origin_is_an_implementation_detail_.adoc[`quantity&lowbar;from&lowbar;origin&lowbar;is&lowbar;an&lowbar;implementation&lowbar;detail&lowbar;`] 
|===


== Static Data Members

[cols="1"]
|===
| Name
| xref:mp_units/quantity_point-08/absolute_point_origin.adoc[`absolute&lowbar;point&lowbar;origin`] 
| xref:mp_units/quantity_point-08/dimension.adoc[`dimension`] 
| xref:mp_units/quantity_point-08/point_origin.adoc[`point&lowbar;origin`] 
| xref:mp_units/quantity_point-08/quantity_spec.adoc[`quantity&lowbar;spec`] 
| xref:mp_units/quantity_point-08/reference.adoc[`reference`] 
| xref:mp_units/quantity_point-08/unit.adoc[`unit`] 
|===


== Deduction Guides

[cols="1"]
|===
| Name
| xref:mp_units/quantity_point-04.adoc[`quantity&lowbar;point&lt;Q&colon;&colon;reference, default&lowbar;point&lowbar;origin(Q&colon;&colon;reference), Q::rep&gt;`] 
| xref:mp_units/quantity_point-0c5.adoc[`quantity&lowbar;point&lt;Q&colon;&colon;reference, PO&lcub;&rcub;, Q::rep&gt;`] 
| xref:mp_units/quantity_point-0cb.adoc[`quantity&lowbar;point&lt;quantity&lowbar;point&lowbar;like&lowbar;traits&lt;QP&gt;&colon;&colon;reference, quantity&lowbar;point&lowbar;like&lowbar;traits&lt;QP&gt;&colon;&colon;point&lowbar;origin, quantity&lowbar;point&lowbar;like&lowbar;traits&lt;QP&gt;::rep&gt;`] 
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:mp_units/isfinite-0b.adoc[`isfinite`]
| Determines if a quantity point is finite&period;
| xref:mp_units/isinf-04.adoc[`isinf`]
| Determines if a quantity point is infinite&period;
| xref:mp_units/isnan-082.adoc[`isnan`]
| Determines if a quantity point is a nan&period;
| xref:mp_units/lerp.adoc[`lerp`]
| Linear interpolation or extrapolation
| xref:mp_units/midpoint.adoc[`midpoint`]
| Computes the midpoint of two points
| xref:mp_units/value_cast-021.adoc[`value&lowbar;cast`]
| Explicit cast of a quantity point&apos;s representation type
|===

== Template Parameters

[cols="1,4"]
|===
| 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
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
