Function swri_transform_util::GetPrimaryAxis
Defined in File transform_util.h
Function Documentation
-
tf2::Vector3 swri_transform_util::GetPrimaryAxis(const tf2::Vector3 &vector)
Return an axis aligned unit vector that is nearest the provided vector.
- Parameters:
vector – [in] The input vector.
- Returns:
The axis aligned unit vector.