parameters: (point, axes)
return_statement: return nearest
docstring: Return axis, which arc is nearest to point.
docstring_summary: Return axis, which arc is nearest to point.
docstring_tokens: Return axis which arc is nearest to point .
function: def arcball_nearest_axis(point, axes):
      """Return axis, which arc is nearest to point."""
      point = numpy.array(point, dtype=numpy.float64, copy=False)
      nearest = None
      mx = -1.0
      for axis in axes:
          t = numpy.dot(arcball_constrain_to_axis(point, axis), point)
          if t > mx:
              nearest = axis
              mx = t
      return nearest
function_tokens: def arcball_nearest_axis ( point , axes ) : point = numpy . array ( point , dtype = numpy . float64 , copy = False ) nearest = None mx = - 1.0 for axis in axes : t = numpy . dot ( arcball_constrain_to_axis ( point , axis ) , point ) if t > mx : nearest = axis mx = t return nearest