code: def get_heading_angle(box):
      """
      Args:
          box: (8, 3)
      Returns:
          heading_angle: float
      """
      a = box[0, 0] - box[1, 0]
      b = box[0, 1] - box[1, 1]
  
      heading_angle = np.arctan2(a, b)
      return heading_angle
  
file_path: ARKitScenes/threedod/benchmark_scripts/utils/box_utils.py
imports: import numpy
  import scipy.spatial
  from .rotation import rotate_points_along_z
label_desc: Use image node_id 2 for calling a global function with example usage: get_heading_angle(box) and returns: heading_angle