#NEWLINE# def get_distance_to( self , p ) : #NEWLINE# #INDENT# 'Returns the distance of this vector to a point.\n\n        p -- A position as a vector, or collection of 3 values.\n\n        ' #NEWLINE# ( ax , ay , az ) = self . _v #NEWLINE# ( bx , by , bz ) = dx #NEWLINE# dx = ( ax - bx ) #NEWLINE# dy = ( ay - by ) #NEWLINE# dz = ( az - bz ) #NEWLINE# return sqrt ( ( ( ( dx * dx ) + ( dy * dy ) ) + ( dz * dz ) ) )