#NEWLINE# def update_points( self , points ) : #NEWLINE# #INDENT# 'updates the points in the object with the new set' #NEWLINE# if ( points . shape != self . points . shape ) : #NEWLINE# #INDENT# raise IndexError ( 'The provided points set has a different shape than the original. They must be the same' ) #NEWLINE# #UNINDENT# self . points = points #NEWLINE# return points