ad_physics
|
DataType Distance2D. More...
#include <ad/physics/Distance2D.hpp>
Public Types | |
typedef std::shared_ptr< Distance2D > | Ptr |
Smart pointer on Distance2D. | |
typedef std::shared_ptr< Distance2D const > | ConstPtr |
Smart pointer on constant Distance2D. | |
Public Member Functions | |
Distance2D ()=default | |
standard constructor | |
~Distance2D ()=default | |
standard destructor | |
Distance2D (const Distance2D &other)=default | |
standard copy constructor | |
Distance2D (Distance2D &&other)=default | |
standard move constructor | |
Distance2D & | operator= (const Distance2D &other)=default |
standard assignment operator More... | |
Distance2D & | operator= (Distance2D &&other)=default |
standard move operator More... | |
bool | operator== (const Distance2D &other) const |
standard comparison operator More... | |
bool | operator!= (const Distance2D &other) const |
standard comparison operator More... | |
Public Attributes | |
::ad::physics::Distance | x |
::ad::physics::Distance | y |
DataType Distance2D.
The vector of distances between two points along the axes of a coordinate frame of reference (minimum distance).
|
inline |
standard comparison operator
[in] | other | Other Distance2D. |
true
if both Distance2D are different
|
default |
standard assignment operator
[in] | other | Other Distance2D |
|
default |
|
inline |
standard comparison operator
[in] | other | Other Distance2D |
true
if both Distance2D are equal