PK_replace_variation_data_t   

struct PK_replace_variation_data_s
    {
    PK_replace_variation_t     variation; --- whether the surfaces are replaced
                                          --- by their variation surfaces
                                          --- (PK_replace_variation_no_c)
    int                n_variation_faces; --- number of faces (0)
    const PK_FACE_t     *variation_faces; --- faces to have surfaces replaced
                                          --- by variation surfaces (NULL)
    };

typedef struct PK_replace_variation_data_s PK_replace_variation_data_t;



This structure is part of the PK_FACE_replace_surfs_o_t options structure.
It contains the variation data.

Used in:

PK_FACE_replace_surfs_o_t


Description of fields:



'variation'         Indicates whether all the supplied surfaces or the surfaces
                    supplied for the faces in 'variation_faces' array are the
                    variation along the normals of the surfaces to be replaced,
                    such that the function can use special methods to
                    regenerate the relevant edges and vertices.

                    The permitted values are:

                    PK_replace_variation_no_c   do not use the special methods
                                                to regenerate the relevant
                                                edges and vertices. Also ignore
                                                'n_variation_faces' and
                                                'variation_faces'.

                    PK_replace_variation_yes_c  allow the use of the special
                                                methods to replace the surfaces
                                                of the faces in
                                                'variation_faces' array,
                                                or to replace all the surfaces
                                                if 'n_variation_faces' is 0.

                    The default value is PK_replace_variation_no_c
                    See here for more information.


'n_variation_faces' Number of faces.
                    The default value is 0.


'variation_faces'   Array of the faces.
                    The array default value is NULL.