gf_slice_set
Purpose
Synopsis
gf_slice_set(mesh_slice sl, 'pts', mat P)
Description
gf_slice_set(sl,'pts',P) replaces the original points of the slice sl with new points given in the matrix P (stored in the columns). Note that you can use the function in order to apply a deformation to a slice, or to change the dimension of the slice (i.e. the number of rows of P is not required to be equal to gf_slice_get(sl,'dim')).
