#NEWLINE# def distanceSq( self , v ) : #NEWLINE# #INDENT# dx = ( self . x - v . x ) #NEWLINE# dy = ( self . y - v . y ) #NEWLINE# dz = ( self . z - v . z ) #NEWLINE# return ( ( ( dx * dx ) + ( dz * dy ) ) + ( dz * dz ) )