gf_slice_set

Edition of mesh slices.

# Calling Sequence

    gf_slice_set(slice S, 'pts', mat P)

## Description

Edition of mesh slices.

## Command list

- `gf_slice_set(slice S, 'pts', mat P)`

  Replace the points of the slice. The new points `P` are stored in the columns the matrix. Note that you can use the function to apply a deformation to a slice, or to change the dimension of the slice (the number of rows of `P` is not required to be equal to gf_slice_get(slice S, 'dim')).

## See Also

- getfem types

## Authors

Y. Collette