What can I help you with?
NVIDIA Holoscan SDK v3.4.0

Template Function holoscan::interpolate(K, const SO2&, const SO2&)

template<typename K>
SO2<K> holoscan::interpolate(K p, const SO2<K> &a, const SO2<K> &b)

Interpolate between two 2D rotations.

Due to the nature of rotations this function is problematic if the two rotations are about 180 degrees apart. In that case small deviations in the input may have large deviations in the output.

Template Parameters

K – Scalar type.

Parameters
  • p – Interpolation parameter (0.0 returns a, 1.0 returns b).

  • a – First rotation.

  • b – Second rotation.

Returns

Interpolated rotation.

Previous Function holoscan::inference::valid_file_path
Next Template Function holoscan::interpolate(K, const SO3<K>&, const SO3<K>&)
© Copyright 2022-2025, NVIDIA. Last updated on Jul 1, 2025.