 |
PK_EDGE_set_blend_variable_o_t |
|
struct PK_EDGE_set_blend_variable_o_s
{
int o_t_version; --- version number of option structure
PK_blend_properties_t properties; --- properties of blend
--- (PK_blend_properties_t)
PK_blend_rho_t rho_type; --- whether to use absolute,
--- relative or centre rho
--- (PK_blend_rho_absolute_c)
PK_blend_xs_shape_t xs_shape; --- cross section shape
--- (PK_blend_xs_shape_conic_c)
};
typedef struct PK_EDGE_set_blend_variable_o_s PK_EDGE_set_blend_variable_o_t;
Holds optional controls for setting a variable radius blend.
Used in:
PK_EDGE_set_blend_variable
The option structure defines options applicable to setting a variable radius
blend.
Description of fields:
'properties'
Properties of the blend.
'rho_type'
This option controls how 'rhos' in PK_blend_edge_shape_t is handled
when creating conic shaped blends.
If 'rho_type' is set to PK_blend_rho_absolute_c, 'rhos' are
independent of the angle subtended by the blend.
If 'rho_type' is set to PK_blend_rho_relative_c, 'rhos'
are relative to the angle subtended by the blend. For example, a
relative rho value of 0.5 will produce a circular or least tension
elliptical conic, while an absolute rho value of 0.5 will produce a
parabolic conic.
If 'rho_type' is set to PK_blend_rho_centre_c, the 'rhos' are
the radii of curvature at the centre of the conic blend cross-section.
'xs_shape'
This option controls the cross-sectional shape of the blend.
It may be set to PK_blend_xs_shape_conic_c for a standard rolling-
ball blend with a circular or conic cross-section, or
PK_blend_xs_shape_g2_c for a curvature-continuous cross-section.
Note: when setting this option to PK_blend_xs_shape_g2_c,
1. 'properties' must be set, with its fields
'ov_cliff' set to PK_blend_ov_cliff_no_c,
'ov_cliff_end' set to PK_blend_ov_cliff_end_no_c;
2. 'rho_type' must be set to its default value
(PK_blend_rho_absolute_c).