Project this vector onto the given axis.

def project(self, axis):
        """ Project this vector onto the given axis. """
        projection = self.get_projection(axis)
        self.assign(projection)