|
ad_physics
|
DataType MetricRange. More...
#include <ad/physics/MetricRange.hpp>

Public Types | |
| typedef std::shared_ptr< MetricRange > | Ptr |
| Smart pointer on MetricRange. | |
| typedef std::shared_ptr< MetricRange const > | ConstPtr |
| Smart pointer on constant MetricRange. | |
Public Member Functions | |
| MetricRange ()=default | |
| standard constructor | |
| ~MetricRange ()=default | |
| standard destructor | |
| MetricRange (const MetricRange &other)=default | |
| standard copy constructor | |
| MetricRange (MetricRange &&other)=default | |
| standard move constructor | |
| MetricRange & | operator= (const MetricRange &other)=default |
| standard assignment operator More... | |
| MetricRange & | operator= (MetricRange &&other)=default |
| standard move operator More... | |
| bool | operator== (const MetricRange &other) const |
| standard comparison operator More... | |
| bool | operator!= (const MetricRange &other) const |
| standard comparison operator More... | |
Public Attributes | |
| ::ad::physics::Distance | minimum {std::numeric_limits<Distance>::lowest()} |
| ::ad::physics::Distance | maximum {std::numeric_limits<Distance>::max()} |
DataType MetricRange.
A metric range described by its borders: [minimum, maximum].
|
inline |
standard comparison operator
| [in] | other | Other MetricRange. |
true if both MetricRange are different
|
default |
standard assignment operator
| [in] | other | Other MetricRange |
|
default |
|
inline |
standard comparison operator
| [in] | other | Other MetricRange |
true if both MetricRange are equal | ::ad::physics::Distance ad::physics::MetricRange::maximum {std::numeric_limits<Distance>::max()} |
The maximum value of the metric range.
| ::ad::physics::Distance ad::physics::MetricRange::minimum {std::numeric_limits<Distance>::lowest()} |
The minimum value of the metric range.
1.8.17