#NEWLINE# def select_contains_points( self , viewer , points , data_x , data_y ) : #NEWLINE# #INDENT# ( x1 , y1 ) = points [ 0 ] #NEWLINE# for point in points [ 1 : ] : #NEWLINE# #INDENT# ( x2 , y2 ) = point #NEWLINE# if self . within_line ( viewer , data_x , data_y , x1 , y1 , x2 , y2 , self . cap_radius ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# ( x1 , y1 ) = ( x2 , y2 ) #NEWLINE# #UNINDENT# return False