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

DataType Distance3D. More...

#include <ad/physics/Distance3D.hpp>

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

Public Types

typedef std::shared_ptr< Distance3DPtr
 Smart pointer on Distance3D.
 
typedef std::shared_ptr< Distance3D const > ConstPtr
 Smart pointer on constant Distance3D.
 

Public Member Functions

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

Public Attributes

::ad::physics::Distance x
 
::ad::physics::Distance y
 
::ad::physics::Distance z
 

Detailed Description

DataType Distance3D.

The vector of distances between two points along the axes of a coordinate frame of reference (minimum distance).

Member Function Documentation

◆ operator!=()

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

standard comparison operator

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

◆ operator=() [1/2]

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

standard assignment operator

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

◆ operator=() [2/2]

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

standard move operator

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

◆ operator==()

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

standard comparison operator

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

Member Data Documentation

◆ x

::ad::physics::Distance ad::physics::Distance3D::x

The x component of the distance

◆ y

::ad::physics::Distance ad::physics::Distance3D::y

The y component of the distance

◆ z

::ad::physics::Distance ad::physics::Distance3D::z

The z component of the distance


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