def getLeftPointIndex(points):
 if (len(points) < 1):
  return None
 leftPointIndex = 0
 for pointIndex in xrange(len(points)):
  if (points[pointIndex].real < points[leftPointIndex].real):
   leftPointIndex = pointIndex
 return leftPointIndex

def getLeftPointIndex ( points ) : if ( len ( points ) < 1 ) : return None leftPointIndex = 0 for pointIndex in xrange ( len ( points ) ) : if ( points [ pointIndex ] . real < points [ leftPointIndex ] . real ) : leftPointIndex = pointIndex return leftPointIndex
get the index of the leftmost complex point in the points .