parameters: (subtype, data)
return_statement: return N.ndarray.__new__(subtype, shape=arr.shape, dtype=arr.dtype, buffer=arr)
docstring: Takes Data as an array. Data is any python sequence that can be turned into a 
          2x2 numpy array of floats:
  
          [[MinX, MinY ],
          [MaxX, MaxY ]]
  
          You don't usually call this directly. BBox objects are created with the factory functions:
          
          asBBox
          
          and 
          
          fromPoints
docstring_summary: Takes Data as an array. Data is any python sequence that can be turned into a 
          2x2 numpy array of floats:
docstring_tokens: Takes Data as an array . Data is any python sequence that can be turned into a 2x2 numpy array of floats :
function: def __new__(subtype, data):
          """
          Takes Data as an array. Data is any python sequence that can be turned into a 
          2x2 numpy array of floats:
  
          [[MinX, MinY ],
          [MaxX, MaxY ]]
  
          You don't usually call this directly. BBox objects are created with the factory functions:
          
          asBBox
          
          and 
          
          fromPoints
  
          """
          arr = N.array(data, N.float)
          arr.shape = (2,2)
          if arr[0,0] > arr[1,0] or arr[0,1] > arr[1,1]:
              # note: zero sized BB OK.
              raise ValueError("BBox values not aligned: \n minimum values must be less that maximum values")
          return N.ndarray.__new__(subtype, shape=arr.shape, dtype=arr.dtype, buffer=arr)
function_tokens: def __new__ ( subtype , data ) : arr = N . array ( data , N . float ) arr . shape = ( 2 , 2 ) if arr [ 0 , 0 ] > arr [ 1 , 0 ] or arr [ 0 , 1 ] > arr [ 1 , 1 ] : # note: zero sized BB OK. raise ValueError ( "BBox values not aligned: \n minimum values must be less that maximum values" ) return N . ndarray . __new__ ( subtype , shape = arr . shape , dtype = arr . dtype , buffer = arr )