 |
PK_replace_vertex_data_t |
|
struct PK_replace_vertex_data_s
{
int n_vertices; --- number of vertices (0)
const PK_VERTEX_t *vertices; --- vertices to have positions
--- replaced (NULL)
const PK_VECTOR_t *positions; --- vertices replacement positions (NULL)
const double *tolerances; --- desired vertex tolerances (NULL)
};
typedef struct PK_replace_vertex_data_s PK_replace_vertex_data_t;
This structure is part of the PK_FACE_replace_surfs_o_t options
structure. It contains the vertex position replacement data.
Used in:
PK_FACE_change_o_t
PK_FACE_replace_surfs_o_t
Description of fields:
'n_vertices' Number of vertices to modify. Length of the
'vertices', 'positions' and 'tolerances' arrays.
The default value is 0.
'vertices' Array of the vertices to modify.
The array default value is NULL.
'positions' Array of the user-provided replacement positions for
the vertices. The array default value is NULL.
'tolerances' Array of tolerances associated with the corresponding
vertices in 'vertices'. A value of 0.0 indicates that the
associated vertices are to be treated as accurate.
The array default value is NULL.
The corresponding vertices in the resulting body will not
necessarily have this tolerance; if possible the vertex
will be made accurate.
Note: The tolerance will be ignored for facet vertices.
Note: Vertices which will be mixed after the operation must
have a tolerance of at least 5 times the session
precision.