 |
PK_EDGE_make_wire_body_o_t |
|
struct PK_EDGE_make_wire_body_o_s
{
int o_t_version; --- version number of option structure
PK_LOGICAL_t allow_disjoint; --- the operation may return disjoint
--- result (default PK_LOGICAL_false)
PK_LOGICAL_t copy_dep_geom; --- copy curves with dependent geometry
--- (default PK_LOGICAL_true)
PK_LOGICAL_t use_nmnl_geom; --- use existing nominal geometry where
--- present. (default PK_LOGICAL_false)
double tolerance; --- curve approximation tolerance
--- (default 0.00001)
};
typedef struct PK_EDGE_make_wire_body_o_s PK_EDGE_make_wire_body_o_t;
This options structure holds optional controls for PK_EDGE_make_wire_body.
Used in:
PK_EDGE_make_wire_body
Description of fields:
'o_t_version' Version number of option structure.
'allow_disjoint' If set to PK_LOGICAL_true, allows creation of
disjoint wires, otherwise PK_ERROR_disjoint
may be raised.
'copy_dep_geom' If set to PK_LOGICAL_true, curves with
dependent geometry such as sp-curves,
intersections, etc. will be simply copied to
the new body, otherwise an approximation
will be made.
'use_nmnl_geom' Resulting wire will use copies of nominal
geometry of existing edges where present.
'tolerance' Tolerance to be used for curve approximation
By default geometry of original edges is copied into the new wire. It is
important to remember that in some cases this involves copying dependent
geometry as well. Copying an intersection will also copy two underlying
surfaces.
If 'copy_dep_geom' is set to PK_LOGICAL_false than curves having dependent
geometry will be approximated by BCURVEs to given 'tolerance'.
It is also possible to copy nominal geometry of the original edges, where
present, into the new wire by setting 'use_nmnl_geom' to PK_LOGICAL_true.
Nominal geometry may also be approximated depending on the value of
'copy_dep_geom'.