original_docstring: Compute bounding box of vertex array.
      
docstring: Compute bounding box of vertex array.
docstring_tokens: Compute bounding box of vertex array .
code: def bbox(vertices):
      """Compute bounding box of vertex array.
      """
  
      if len(vertices)>0:
          minx = maxx = vertices[0].co.x
          miny = maxy = vertices[0].co.y
          minz = maxz = vertices[0].co.z
  
          for v in vertices[1:]:
              if v.co.x < minx:
                  minx = v.co.x
              elif v.co.x > maxx:
                  maxx = v.co.x
  
              if v.co.y < miny:
                  miny = v.co.y
              elif v.co.y > maxy:
                  maxy = v.co.y
  
              if v.co.z < minz:
                  minz = v.co.z
              elif v.co.z > maxz:
                  maxz = v.co.z
  
          return { 'x':[minx,maxx], 'y':[miny,maxy], 'z':[minz,maxz] }
  
      else:
          return { 'x':[0,0], 'y':[0,0], 'z':[0,0] }
code_tokens: def bbox ( vertices ) : if len ( vertices ) > 0 : minx = maxx = vertices [ 0 ] . co . x miny = maxy = vertices [ 0 ] . co . y minz = maxz = vertices [ 0 ] . co . z for v in vertices [ 1 : ] : if v . co . x < minx : minx = v . co . x elif v . co . x > maxx : maxx = v . co . x if v . co . y < miny : miny = v . co . y elif v . co . y > maxy : maxy = v . co . y if v . co . z < minz : minz = v . co . z elif v . co . z > maxz : maxz = v . co . z return { 'x' : [ minx , maxx ] , 'y' : [ miny , maxy ] , 'z' : [ minz , maxz ] } else : return { 'x' : [ 0 , 0 ] , 'y' : [ 0 , 0 ] , 'z' : [ 0 , 0 ] }
short_docstring: Compute bounding box of vertex array.
short_docstring_tokens: Compute bounding box of vertex array .
comment: """Compute bounding box of vertex array.
      """