(self, src_pts)
return np.asarray(np.dot(H, self.weights))
This method performs the deformation of the mesh points. After the
        execution it sets `self.modified_mesh_points`.
This method performs the deformation of the mesh points. After the
        execution it sets `self.modified_mesh_points`.
This method performs the deformation of the mesh points . After the execution it sets self . modified_mesh_points .
def __call__(self, src_pts):
        """
        This method performs the deformation of the mesh points. After the
        execution it sets `self.modified_mesh_points`.
        """
        self.compute_weights()

        H = np.zeros((src_pts.shape[0], self.n_control_points + 3 + 1))
        H[:, :self.n_control_points] = self.basis(
            cdist(src_pts, self.original_control_points), 
            self.radius,
            **self.extra)
        H[:, self.n_control_points] = 1.0
        H[:, -3:] = src_pts
        return np.asarray(np.dot(H, self.weights))
def __call__ ( self , src_pts ) : self . compute_weights ( ) H = np . zeros ( ( src_pts . shape [ 0 ] , self . n_control_points + 3 + 1 ) ) H [ : , : self . n_control_points ] = self . basis ( cdist ( src_pts , self . original_control_points ) , self . radius , * * self . extra ) H [ : , self . n_control_points ] = 1.0 H [ : , - 3 : ] = src_pts return np . asarray ( np . dot ( H , self . weights ) )