code: def get_rot_dir(src_point, rot_rad):
      """Get rotation direction.
  
      Parameters
      ----------
      src_point : tuple of float
          Original point.
      rot_rad : float
          Rotation radian.
  
      Returns
      -------
      tuple of float
          Rotation.
  
      """
      sn, cs = np.sin(rot_rad), np.cos(rot_rad)
  
      src_result = [0, 0]
      src_result[0] = src_point[0] * cs - src_point[1] * sn
      src_result[1] = src_point[0] * sn + src_point[1] * cs
  
      return src_result
  
file_path: gluon-cv/gluoncv/data/transforms/bbox.py
imports: from __future__ import division
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: get_rot_dir(src_point, rot_rad) and returns: src_result