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

DataType ParametricRange. More...

#include <ad/physics/ParametricRange.hpp>

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

Public Types

typedef std::shared_ptr< ParametricRangePtr
 Smart pointer on ParametricRange.
 
typedef std::shared_ptr< ParametricRange const > ConstPtr
 Smart pointer on constant ParametricRange.
 

Public Member Functions

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

Public Attributes

::ad::physics::ParametricValue minimum {0.0}
 
::ad::physics::ParametricValue maximum {1.0}
 

Detailed Description

DataType ParametricRange.

A parametric range within a lane segment described by its borders: [minimum, maximum].

Member Function Documentation

◆ operator!=()

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

standard comparison operator

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

◆ operator=() [1/2]

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

standard assignment operator

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

◆ operator=() [2/2]

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

standard move operator

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

◆ operator==()

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

standard comparison operator

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

Member Data Documentation

◆ maximum

::ad::physics::ParametricValue ad::physics::ParametricRange::maximum {1.0}

The maximum value of the parametric range.

◆ minimum

::ad::physics::ParametricValue ad::physics::ParametricRange::minimum {0.0}

The minimum value of the parametric range.


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