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

Template Function holoscan::pose_tree_math::interpolate

template<typename K, typename T>
T holoscan::pose_tree_math::interpolate(K q, T a, T b)

Linear interpolation between two values.

Returns a value between a and b at the relative position q. This function will also work for q outside of the unit interval for extrapolation.

Template Parameters
  • K – Scalar type for interpolation parameter.

  • T – Type of values to interpolate.

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

  • a – First value.

  • b – Second value.

Returns

Interpolated value a + q * (b - a).

Previous Template Function holoscan::pose3_magnitude
Next Function holoscan::profiler::trace
© Copyright 2022-2025, NVIDIA. Last updated on Jul 1, 2025.