struct PK_BODY_taper_o_s
{
int o_t_version; --- version number of option
--- structure
double tolerance; --- max. tol. for applying
--- surfaces (0.00001)
PK_LOGICAL_t miter_at_parting; --- whether to miter halves
--- at the parting sheet
--- (PK_LOGICAL_true)
PK_LOGICAL_t merge_face; --- whether tapered faces
--- are to be merged with
--- their neighbours
--- (PK_LOGICAL_true)
PK_check_fa_fa_t check_fa_fa; --- check for face-face
--- inconsistencies
--- (PK_check_fa_fa_yes_c)
PK_taper_method_t default_method; --- default tapering method
--- (PK_taper_method_isocline_c)
int n_methods; --- number of non-default
--- tapering methods (0)
const PK_taper_method_t *methods; --- non-default tapering
--- methods (NULL)
const PK_ENTITY_t *method_refs; --- reference entities to use
--- non-default tapering
--- method (NULL)
};
typedef struct PK_BODY_taper_o_s PK_BODY_taper_o_t;
This structure contains optional controls for PK_BODY_taper
Description of fields:
tolerance Maximum tolerance for the operation. The default
value is 0.00001
miter_at_parting If this flag is set to PK_LOGICAL_true, the
resulting body will be mitered. The default
value is PK_LOGICAL_true.
merge_face If this flag is set to PK_LOGICAL_true, the
new faces produced by the operation will be
merged with their neighbouring faces, if it is
feasible. The default value is PK_LOGICAL_true.
check_fa_fa Check for face-face inconsistencies.
Values can be :
PK_check_fa_fa_no_c
PK_check_fa_fa_yes_c
The default value is PK_check_fa_fa_yes_c.
default_method Tapering method to construct new surfaces.
Allowed values are:
PK_taper_method_isocline_c : isocline method
PK_taper_method_curve_c : curve method
PK_taper_method_surface_c : surface method
The default is PK_taper_method_isocline_c.
n_methods Number of elements in methods and method_refs
arrays. Default is 0.
methods Array of n_methods tapering methods to be
used instead of default_method corresponding
to reference entities in method_refs. Default is
NULL.
method_refs Array of reference entities to use non-default
tapering method specified in corresponding
entries of methods. Only entities given as
references to PK_BODY_taper are allowed in this
array.