 |
PK_VERTEX_optimise_o_t |
|
struct PK_VERTEX_optimise_o_s
{
int o_t_version; --- version number of option structure
double max_dev; --- the desired maximum deviation
--- (0)
PK_VERTEX_max_dev_t set_max_dev; --- whether or not 'max_dev' is set by
--- the user
--- (PK_VERTEX_max_dev_vertex_tol_c)
PK_local_ops_update_t update; --- update flag
--- (PK_local_ops_update_default_c)
};
typedef struct PK_VERTEX_optimise_o_s PK_VERTEX_optimise_o_t;
This options structure holds optional controls for PK_VERTEX_optimise.
Used in:
PK_VERTEX_optimise
PK_VERTEX_optimise_o_t has the following fields:
'max_dev' The target value for maximum deviation.
'set_max_dev' Indicates the value of 'max_dev' is as supplied by the user
or the target maximum deviation is taken to be the current
vertex tolerance.
If 'set_max_dev' is set to PK_VERTEX_max_dev_supplied_c,
the user is required to provide a value for 'max_dev'.
If 'set_max_dev' is set to PK_VERTEX_max_dev_vertex_tol_c,
the target maximum deviation is taken to be the current
vertex tolerance.
'update' The default value allows applications to take advantage of
the latest enhancements of the generic algorithms supporting
Parasolid local operations functions. To maintain consistency
when rebuilding models created in a previous version of
Parasolid, a non-default value should be specified.
The default value is PK_local_ops_update_default_c