 |
PK_EDGE_repair_o_t |
|
struct PK_EDGE_repair_o_s
{
int o_t_version; --- version number of option structure
PK_LOGICAL_t ensure_on_surfs; --- ensure edges lie on surfaces
--- (PK_LOGICAL_true)
double max_tolerance; --- maximum tolerance allowed for
--- above option (1.0e-5).
PK_LOGICAL_t intersect; --- intersect face surfaces
--- (PK_LOGICAL_false)
PK_LOGICAL_t check_tols; --- check for clashing vertex
--- tolerances (PK_LOGICAL_true)
};
typedef struct PK_EDGE_repair_o_s PK_EDGE_repair_o_t;
This options structure holds optional controls for PK_EDGE_repair.
Used in:
PK_EDGE_repair
Description of fields:
'ensure_on_surfs' Ensure that each classic edge lies on its adjacent
surfaces, by setting an appropriate tolerance on the
edge, if necessary.
'max_tolerance' The maximum tolerance which may be set on any edge.
The function will fail if it cannot make the edges
lie on their surfaces by using a tolerance of at
most 'max_tolerance'.
'intersect' Repair classic edges by recalculating accurate edge
geometry by intersecting the adjacent surfaces.
'check_tols' Check for and prevent the setting of tolerances which
will cause vertex tolerances to overlap resulting in
invalidities. If the 'check_tols' option is set to
PK_LOGICAL_false and this results in tolerances
large enough to cause invalidities being set then this
information is returned via the Parasolid Report
mechanism - a PK_REPORT_1_ed_large_tol_c record is
returned containing the edge or edges which have had
the large tolerance set on it/them and a
PK_REPORT_1_ed_vxs_touch_c record containing the edges
which have been made invalid by this. If it is set to
PK_LOGICAL_true then these large tolerances will not
be set and the error PK_ERROR_bad_tolerance will be
returned.