PK_GEOM_render_line_o_t   
struct PK_GEOM_render_line_o_s
    {
    int                    o_t_version;  --- version of this PK option struct
    PK_render_param_t      param;        --- whether to draw parametric hatch
                                         --- lines (PK_render_param_no_c)
    PK_render_boundary_t   boundary;     --- whether to draw surface boundaries
                                         --- (PK_render_boundary_yes_c)
    PK_render_bcurve_t     bcurve;       --- method for rendering bcurves
                                         --- (PK_render_bcurve_polyline_c)
    PK_LOGICAL_t             is_curve_chord_tol;
                                         --- whether curve_chord_tol is set
                                         --- (PK_LOGICAL_false)
    double                   curve_chord_tol;
                                         --- chordal tolerance between curve
                                         --- and chord edges in model units
                                         --- (0.0)
    PK_LOGICAL_t             is_curve_chord_max;
                                         --- whether curve_chord_max is set
                                         --- (PK_LOGICAL_false)
    double                   curve_chord_max;
                                         --- max length of chord in model units
                                         --- (0.0)
    PK_LOGICAL_t             is_curve_chord_ang;
                                         --- whether curve_chord_ang is set
                                         --- (PK_LOGICAL_false)
    double                   curve_chord_ang;
                                         --- max angle between adjacent chords
                                         --- in radians (0.0)
    double                 param_u;      --- hatch spacing in U direction (0.0)
    double                 param_v;      --- hatch spacing in V direction (0.0)
    };
typedef struct PK_GEOM_render_line_o_s PK_GEOM_render_line_o_t;



Controls for the PK_GEOM_render_line options structure.


Specific Errors:
    PK_ERROR_o_t_version_incorrect  option structure not initialised correctly
    PK_ERROR_bad_tolerance          is_<tol> is true but used with a bad <tol>
    PK_ERROR_bad_parameter          PK_render_param_yes_c needs param_u/v vals

Used in:

PK_GEOM_render_line


The following PK option structure provides controls for PK_GEOM_render_line
when generating view-independent drawings of geometric entities through the
Graphics Output (GO) interface.

The options specify whether surface boundary and hatch lines are required
and the method to be used when outputting bcurves through GO.


tolerance values
Each control tolerance is passed as a pair of values, consisting of a
PK_LOGICAL_t flag and a double precision value. If a specific tolerance
is required, the variable is set to a strictly positive value and the
associated flag set to PK_LOGICAL_true.

If Parasolid is to use its internal tolerance defaults, the associated flag is
set to PK_LOGICAL_false (and no use made of the associated tolerance argument).
This is the default state set by the PK_GEOM_render_line_o_m macro.

This convention has changed since Parasolid 8.0. Control tolerances were
formerly passed as doubles, using the convention that a value of exactly
0.0 implied that Parasolid should choose a suitable tolerance value.

Generated on: Fri, 04 Oct 2024 12:19:43 GMT