#NEWLINE# @ property #NEWLINE# def inv( self ) : #NEWLINE# #INDENT# ref = self . reference #NEWLINE# if ( ref is None ) : #NEWLINE# #INDENT# ref = self . shape #NEWLINE# #UNINDENT# return Transform ( np . linalg . inv ( self . xfm ) , ref )