def project ( self , other ) : n = other . normalized ( ) return self . dot ( n ) * n
orthonormalize 1 vector corresponding to another python
Return one vector projected on the vector other
def project(self, other):
        """Return one vector projected on the vector other"""
        n = other.normalized()
        return self.dot(n) * n