parameters: (points)
docstring: get_median_point
docstring_summary: get_median_point
docstring_tokens: get_median_point
function: def _get_median_point(points):
          """get_median_point"""
          if len(points) % 2 == 1:
              point = points[len(points) // 2]
              return point.x, point.y
          else:
              point1 = points[len(points) // 2 - 1]
              point2 = points[len(points) // 2]
              return (point1.x + point2.x) / 2.0, (point1.y + point2.y) / 2.0
function_tokens: def _get_median_point ( points ) : if len ( points ) % 2 == 1 : point = points [ len ( points ) // 2 ] return point . x , point . y else : point1 = points [ len ( points ) // 2 - 1 ] point2 = points [ len ( points ) // 2 ] return ( point1 . x + point2 . x ) / 2.0 , ( point1 . y + point2 . y ) / 2.0