PK_CURVE_make_wire_body_o_t   


struct PK_CURVE_make_wire_body_o_s
    {
    int             o_t_version;    --- version number of option structure
    double          tolerance;      --- max separation between any two curve
                                    --- endings that are to be connected
                                    --- (0.000001)
    PK_LOGICAL_t    allow_disjoint; --- is the wire body allowed to be
                                    --- disjoint? (PK_LOGICAL_true)
    PK_LOGICAL_t    check;          --- check the body for errors?
                                    --- (PK_LOGICAL_true)
    PK_LOGICAL_t    want_edges;     --- return the new edges in new_edges?
                                    --- (PK_LOGICAL_false)
    PK_LOGICAL_t    want_indices;   --- return the edge indices in edge_index?
                                    --- (PK_LOGICAL_false)
    };

typedef struct PK_CURVE_make_wire_body_o_s PK_CURVE_make_wire_body_o_t;


This options structure holds optional controls for PK_CURVE_make_wire_body_2.


Description of fields:

o_t_version           Version number of option structure.

tolerance             The maximum separation between any two curve endings
                        that are to be connected. If more than two curve ends
                        are within this distance, the two closest will be
                        joined. Curve ends seperated by a distance greater than
                        tolerance will never be connected.
                        The default is 0.000001.

allow_disjoint        If PK_LOGICAL_true, then disjoint bodies can be
                        created. If PK_LOGICAL_false, and the supplied set of
                        curves and bounds would result in a disjoint body, then
                        the function will fail with PK_ERROR_not_connected.
                        The default is PK_LOGICAL_true.

check                 The created body will be checked for errors.
                        The default is PK_LOGICAL_true.

want_edges            If PK_LOGICAL_true, the edges will be returned in
                        new_edge.
                        The default is PK_LOGICAL_false.

want_indices          If PK_LOGICAL_true, then edge_index will be filled
                        with an array of integers, indicating the position in
                        the array of curves and bounds that refers to the curve
                        and bounds used to create the corresponding edge in
                        new_edges.
                        The default is PK_LOGICAL_false.