 |
PK_EDGE_offset_on_body_o_t |
|
struct PK_EDGE_offset_on_body_o_s
{
int o_t_version; --- version number of option
--- structure
PK_local_ops_update_t update; --- update flag
--- (PK_local_ops_update_default_c)
double offset_distance;--- distance to offset
double tolerance; --- tolerance for offset (1.0e-06)
PK_VERTEX_gap_fill_t gap_fill; --- how gaps at vertices are filled
--- (PK_VERTEX_gap_fill_round_c)
PK_double_constraint_t gap_fill_angle; --- angular constraint to determine
--- if 'constrained_gap_fill' is to
--- be used
--- ((PK_comparison_never_c, (0,0)))
PK_VERTEX_gap_fill_t constrained_gap_fill;
--- how gaps are filled at vertices
--- that satisfy the
--- 'gap_fill_angle' constraint
--- (PK_VERTEX_gap_fill_round_c)
};
typedef struct PK_EDGE_offset_on_body_o_s PK_EDGE_offset_on_body_o_t;
This options structure holds optional controls for PK_EDGE_offset_on_body.
Used in:
PK_EDGE_offset_on_body
It has the following fields:
'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
'offset_distance' The distance to offset by (0.0)
'tolerance' The tolerance to use during the offset (1.0e-06)
'gap_fill' This specifies how gaps at vertices produced by the
offset operation should be filled. Permitted values
are:
PK_VERTEX_gap_fill_round_c
fill with round arc (default)
PK_VERTEX_gap_fill_linear_c
fill with tangent extension
PK_VERTEX_gap_fill_natural_c
fill with curve extension.
'gap_fill_angle' This constraint determines which convex angles will
use the 'constrained_gap_fill', instead of the
normal 'gap_fill'. The constraint(s) (in radians),
if satisfied, will instruct the function to use the
'constrained_gap_fill' in place of the 'gap_fill' for
the specified angle ranges. A convex angle is
defined as the angle subtended by two offset edges
from their original shared vertex being less than pi.
Default is ((PK_comparison_never_c, (0,0))). Valid
ranges are between 0 and pi inclusive. Any values
outside this range will return an error
PK_ERROR_bad_angle.
'constrained_gap_fill' An alternative to 'gap_fill' which is used when
the 'gap_fill_angle' constraint is satisfied.
It has the same permitted values as 'gap_fill'.
Default is PK_VERTEX_gap_fill_round_c.