scenario_simulator_v2 C++ API
Namespaces | Functions
scalar_to_direction_vector.hpp File Reference
#include <geometry/quaternion/is_like_quaternion.hpp>
#include <geometry/quaternion/quaternion_to_euler.hpp>
#include <geometry/vector3/vector3.hpp>
#include <type_traits>
Include dependency graph for scalar_to_direction_vector.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 math
 
 math::geometry
 

Functions

template<typename T , std::enable_if_t< std::conjunction_v< IsLikeQuaternion< T >>, std::nullptr_t > = nullptr>
auto math::geometry::scalarToDirectionVector (const double magnitude, const T &orientation)
 converts scalar magnitude to 3D directional vector More...