|
CARLA
|
Angular velocity in degrees per second. More...
#include <AngularVelocity.h>
Inheritance diagram for carla::geom::AngularVelocity:Public Member Functions | |
| AngularVelocity ()=default | |
| AngularVelocity (const FVector &v_deg_per_s) | |
Build an AngularVelocity (deg/s) from an Unreal FVector already expressed in degrees per second. | |
| constexpr | AngularVelocity (const Vector3D &v) |
| constexpr | AngularVelocity (float ix, float iy, float iz) |
| FVector | ToFVectorDegPerSecond () const |
Return this AngularVelocity as an Unreal FVector in degrees per second. | |
Public Member Functions inherited from carla::geom::Vector3D | |
| Vector3D | Abs () const |
| float | Length () const |
| float | Length2D () const |
| Vector3D | MakeUnitVector (const float epsilon=2.0f *std::numeric_limits< float >::epsilon()) const |
| Return a unit-length copy of this vector. | |
| template<typename MSGPACK_OBJECT > | |
| void | msgpack_object (MSGPACK_OBJECT *o, clmdep_msgpack::zone &sneaky_variable_that_shadows_z) const |
| template<typename Packer > | |
| void | msgpack_pack (Packer &pk) const |
| void | msgpack_unpack (clmdep_msgpack::object const &o) |
| constexpr bool | operator!= (const Vector3D &rhs) const |
| constexpr Vector3D & | operator*= (float rhs) |
| constexpr Vector3D & | operator+= (const Vector3D &rhs) |
| constexpr Vector3D & | operator-= (const float f) |
| constexpr Vector3D & | operator-= (const Vector3D &rhs) |
| constexpr Vector3D & | operator/= (float rhs) |
| Vector3D & | operator= (const FVector &rhs)=delete |
| constexpr bool | operator== (const Vector3D &rhs) const |
| constexpr float | SquaredLength () const |
| constexpr float | SquaredLength2D () const |
| Vector3D | ToCentimeters () const |
| Return a Vector3D converted from meters to centimeters. | |
| FVector | ToFVector () const |
| Vector3D | ToMeters () const |
| Return a Vector3D converted from centimeters to meters. | |
| Vector3D ()=default | |
| Vector3D (const FVector &v)=delete | |
| These 2 methods are explicitly deleted to avoid creating them by other users, unlike locations, some vectors have units and some don't, by removing these methods we found several places were the conversion from cm to m was missing. | |
| constexpr | Vector3D (float ix, float iy, float iz) |
Additional Inherited Members | |
Public Attributes inherited from carla::geom::Vector3D | |
| float | x = 0.0f |
| float | y = 0.0f |
| float | z = 0.0f |
Static Public Attributes inherited from carla::geom::Vector3D | |
| static constexpr auto | Dim = 3 |
Angular velocity in degrees per second.
Inherits Vector3D storage and arithmetic and carries unit semantics so consumers do not silently mix deg/s and rad/s payloads at API boundaries.
Definition at line 17 of file AngularVelocity.h.
|
default |
|
inlineconstexpr |
Definition at line 21 of file AngularVelocity.h.
|
inlineexplicitconstexpr |
Definition at line 25 of file AngularVelocity.h.
|
inlineexplicit |
Build an AngularVelocity (deg/s) from an Unreal FVector already expressed in degrees per second.
Definition at line 33 of file AngularVelocity.h.
|
inline |
Return this AngularVelocity as an Unreal FVector in degrees per second.
Definition at line 42 of file AngularVelocity.h.
References carla::geom::Vector3D::x, carla::geom::Vector3D::y, and carla::geom::Vector3D::z.