ad_physics
|
DataType Distance3D. More...
#include <ad/physics/Distance3D.hpp>
Public Types | |
typedef std::shared_ptr< Distance3D > | Ptr |
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 | |
Distance3D & | operator= (const Distance3D &other)=default |
standard assignment operator More... | |
Distance3D & | operator= (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 |
DataType Distance3D.
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 Distance3D. |
true
if both Distance3D are different
|
default |
standard assignment operator
[in] | other | Other Distance3D |
|
default |
|
inline |
standard comparison operator
[in] | other | Other Distance3D |
true
if both Distance3D are equal ::ad::physics::Distance ad::physics::Distance3D::x |
The x component of the distance
::ad::physics::Distance ad::physics::Distance3D::y |
The y component of the distance
::ad::physics::Distance ad::physics::Distance3D::z |
The z component of the distance