ad_physics
Public Types | Public Member Functions | Public Attributes | List of all members
ad::physics::AngleRange Struct Reference

DataType AngleRange. More...

#include <ad/physics/AngleRange.hpp>

Collaboration diagram for ad::physics::AngleRange:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< AngleRangePtr
 Smart pointer on AngleRange.
 
typedef std::shared_ptr< AngleRange const > ConstPtr
 Smart pointer on constant AngleRange.
 

Public Member Functions

 AngleRange ()=default
 standard constructor
 
 ~AngleRange ()=default
 standard destructor
 
 AngleRange (const AngleRange &other)=default
 standard copy constructor
 
 AngleRange (AngleRange &&other)=default
 standard move constructor
 
AngleRangeoperator= (const AngleRange &other)=default
 standard assignment operator More...
 
AngleRangeoperator= (AngleRange &&other)=default
 standard move operator More...
 
bool operator== (const AngleRange &other) const
 standard comparison operator More...
 
bool operator!= (const AngleRange &other) const
 standard comparison operator More...
 

Public Attributes

::ad::physics::Angle minimum {std::numeric_limits<Angle>::lowest()}
 
::ad::physics::Angle maximum {std::numeric_limits<Angle>::max()}
 

Detailed Description

DataType AngleRange.

A range of angles described by its borders: [minimum, maximum].

Member Function Documentation

◆ operator!=()

bool ad::physics::AngleRange::operator!= ( const AngleRange other) const
inline

standard comparison operator

Parameters
[in]otherOther AngleRange.
Returns
true if both AngleRange are different

◆ operator=() [1/2]

AngleRange& ad::physics::AngleRange::operator= ( AngleRange &&  other)
default

standard move operator

Parameters
[in]otherOther AngleRange
Returns
Reference to this AngleRange.

◆ operator=() [2/2]

AngleRange& ad::physics::AngleRange::operator= ( const AngleRange other)
default

standard assignment operator

Parameters
[in]otherOther AngleRange
Returns
Reference to this AngleRange.

◆ operator==()

bool ad::physics::AngleRange::operator== ( const AngleRange other) const
inline

standard comparison operator

Parameters
[in]otherOther AngleRange
Returns
true if both AngleRange are equal

Member Data Documentation

◆ maximum

::ad::physics::Angle ad::physics::AngleRange::maximum {std::numeric_limits<Angle>::max()}

The maximum value of the angle range.

◆ minimum

::ad::physics::Angle ad::physics::AngleRange::minimum {std::numeric_limits<Angle>::lowest()}

The minimum value of the angle range.


The documentation for this struct was generated from the following file: