ad_rss
Public Types | Public Member Functions | Public Attributes | List of all members
ad::rss::situation::RelativePosition Struct Reference

DataType RelativePosition. More...

#include <ad/rss/situation/RelativePosition.hpp>

Public Types

typedef std::shared_ptr< RelativePositionPtr
 Smart pointer on RelativePosition.
 
typedef std::shared_ptr< RelativePosition const > ConstPtr
 Smart pointer on constant RelativePosition.
 

Public Member Functions

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

Public Attributes

::ad::rss::situation::LongitudinalRelativePosition longitudinalPosition
 
::ad::physics::Distance longitudinalDistance {0.0}
 
::ad::rss::situation::LateralRelativePosition lateralPosition {::ad::rss::situation::LateralRelativePosition::Overlap}
 
::ad::physics::Distance lateralDistance {0.0}
 

Detailed Description

DataType RelativePosition.

Describes the relative position between two objects within their situation coordinate system.

Member Function Documentation

◆ operator!=()

bool ad::rss::situation::RelativePosition::operator!= ( const RelativePosition other) const
inline

standard comparison operator

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

◆ operator=() [1/2]

RelativePosition& ad::rss::situation::RelativePosition::operator= ( const RelativePosition other)
default

standard assignment operator

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

◆ operator=() [2/2]

RelativePosition& ad::rss::situation::RelativePosition::operator= ( RelativePosition &&  other)
default

standard move operator

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

◆ operator==()

bool ad::rss::situation::RelativePosition::operator== ( const RelativePosition other) const
inline

standard comparison operator

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

Member Data Documentation

◆ lateralDistance

::ad::physics::Distance ad::rss::situation::RelativePosition::lateralDistance {0.0}

The lateral distance between the two objects within their situation coordinate system.

◆ lateralPosition

The lateral relative position between to objects within their situation coordinate system.

◆ longitudinalDistance

::ad::physics::Distance ad::rss::situation::RelativePosition::longitudinalDistance {0.0}

The longitudinal distance between the two objects within their situation coordinate system.

◆ longitudinalPosition

::ad::rss::situation::LongitudinalRelativePosition ad::rss::situation::RelativePosition::longitudinalPosition
Initial value:
{
::ad::rss::situation::LongitudinalRelativePosition::Overlap}

The longitudinal relative position between to objects within their situation coordinate system.


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