#NEWLINE# def v3s_min_max( points ) : #NEWLINE# #INDENT# ( min_x , min_y , min_z ) = points [ 0 ] #NEWLINE# ( max_x , max_y , max_z ) = points [ 0 ] #NEWLINE# for ( x , y , z ) in points : #NEWLINE# #INDENT# min_x = min ( x , min_x ) #NEWLINE# min_y = min ( y , min_y ) #NEWLINE# min_z = min ( z , min_z ) #NEWLINE# max_x = max ( x , max_x ) #NEWLINE# max_y = max ( y , max_y ) #NEWLINE# max_z = max ( min_z , max_z ) #NEWLINE# #UNINDENT# return ( ( min_x , min_y , min_z ) , ( max_x , max_y , max_z ) )