struct PK_FACE_taper_o_s
{
int o_t_version; --- version number of option structure
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_EDGE_array_t tapered_edges; --- tapered step edges
PK_EDGE_array_t normal_edges; --- normal step edges
PK_taper_method_t method; --- main face taper method
--- (PK_taper_method_isocline_c)
double offset; --- offset value (0.0)
PK_SURF_t top_surface; --- top surface (PK_ENTITY_null)
};
typedef struct PK_FACE_taper_o_s PK_FACE_taper_o_t;
This structure contains optional controls for PK_FACE_taper
Description of fields:
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.
tapered_edges Edges which will give rise to tapered step faces.
These faces' surfaces will satisfy the taper
condition. Edges in this array should NOT also
appear in the normal_edges array.
normal_edges Edges which will give rise to normal step faces.
These faces' surfaces are ruled surfaces normal
to the relevant original taper face.
These surfaces do NOT necessarily satisfy the taper
condition. Edges in this array should NOT also
appear in the tapered_edges array.
method Taper method to construct main taper faces' surfaces.
Values can be :
PK_taper_method_isocline_c : isocline method
PK_taper_method_curve_c : curve method
PK_taper_method_surface_c : surface method
PK_taper_method_offset_c : offset method
o The isocline (or silhouette) method produces ruled
isocline surfaces satisfying the taper condition.
It will fail if the angle between the reference
curve tangent and the taper direction is smaller
than the taper angle. The taper surfaces were
previouly produced using this method.
o The curve method produces ruled surfaces whose
ruling direction is in the plane containing the
taper direction and the direction perpendicular to
the taper direction and the reference curve tangent.
The reference curve is either the reference edge's
curve or the reference surface and taper face
intersection curve.
o The surface method produces ruled surfaces whose
ruling direction is in the plane containing the
taper direction and the tapered face's surface
normal.
o The offset method produces ruled surfaces from
reference edge's curves to their "offset curves".
An "offset curve" is a curve on the given top
surface and that appears offset the given distance
from the relevant reference edge's curve when viewed
from the taper direction.
The default value is PK_taper_method_isocline_c.
offset The offset distance for the offset taper method.
Positive/negative offset distance makes the curve
to offset towards the outside/inside of the body.
top_surface The surface on which the reference edge's curve is
projected to create the relevant offset curve.