#NEWLINE# def equals( self , obj ) : #NEWLINE# #INDENT# res = False #NEWLINE# try : #NEWLINE# #INDENT# cm = cm #NEWLINE# ensureEndPoints ( ) #NEWLINE# cm . ensureEndPoints ( ) #NEWLINE# res = ( ( cm == this ) or ( self . m_startPoint . equals ( cm . getStartPoint ( ) ) and self . m_endPoint . equals ( cm . getEndPoint ( ) ) ) ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# return res