#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# if isinstance ( other , self . __class__ ) : #NEWLINE# #INDENT# return ( ( self . x == other . x ) and ( self . y == other . y ) and ( self . z == other . z ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False