PK_MVERTEX_set_positions   

PK_ERROR_code_t                     PK_MVERTEX_set_positions
(
--- received arguments ---
int                                 n_mvertices,  --- the number of mvertices
const PK_MVERTEX_t                  mvertices[],  --- the mvertices
const PK_VECTOR_t                   positions[],  --- the positions for each
                                                  --- mvertex
const PK_MVERTEX_set_positions_o_t *options       --- options
)


This function sets the position of each given mvertex.


Specific Errors:
    PK_ERROR_mtopols_not_same_mesh (MILD) 'mvertices' not all from same mesh

    PK_ERROR_is_attached           (MILD) The mesh is attached to a face
                                          and some of the 'mvertices' lie
                                          on an edge or topological vertex



The arrays 'mvertices' and 'positions' are both of length 'n_mvertices'.

Each mvertex in 'mvertices' has its position set to be the position vector in
the corresponding entry in 'positions'. Any existing position of an mvertex in
'mvertices' is overwritten.

Each mvertex in 'mvertices' must belong to the same mesh.  If the mesh is
attached to a face then none of the 'mvertices' may lie on the edges or
topological vertices of that face.