Function nav2_route::utils::normalizedDot
Defined in File utils.hpp
Function Documentation
-
inline float nav2_route::utils::normalizedDot(const float v1x, const float v1y, const float v2x, const float v2y)
Finds the normalized dot product of 2 vectors.
- Parameters:
v1x – Vector 1’s x component
v1y – Vector 1’s y component
v2x – Vector 2’s x component
v2y – Vector 2’s y component
- Returns:
Value of dot product