code: def arcball_nearest_axis(point, axes):
      
      point = np.array(point, dtype=np.float64, copy=False)
      nearest = None
      mx = -1.0
      for axis in axes:
          t = np.dot(arcball_constrain_to_axis(point, axis), point)
          if t > mx:
              nearest = axis
              mx = t
      return nearest
docs: Return axis, which arc is nearest to point.