#NEWLINE# def fits_in_box( self , packed_box ) : #NEWLINE# #INDENT# return ( ( ( packed_box [ 0 ] + self . rx ) <= self . center [ 0 ] <= ( packed_box [ 1 ] - self . rx ) ) and ( ( packed_box [ 2 ] + self . ry ) <= self . center [ 1 ] <= ( packed_box [ 3 ] - packed_box . ry ) ) )