#NEWLINE# def _distance_to_group( self , point , group ) : #NEWLINE# #INDENT# min_distance = sys . float_info . max #NEWLINE# for pt in group : #NEWLINE# #INDENT# dist = ms_utils . euclidean_dist ( point , pt ) #NEWLINE# if ( dist < min_distance ) : #NEWLINE# #INDENT# min_distance = dist #NEWLINE# #UNINDENT# #UNINDENT# return min_distance