PK_SURF_self_int_t   

struct PK_SURF_self_int_s
    {
    PK_self_int_type_t type;
    int                n_positions;
    PK_VECTOR_t       *positions;
    int                n_uvboxes;
    PK_UVBOX_t        *uvboxes;
    int                n_entities;
    PK_ENTITY_t       *entities;
    };

typedef struct PK_SURF_self_int_s PK_SURF_self_int_t;



A structure packaging information about a self-intersection on a surface.

Used in:

PK_SURF_self_ints_t


Each structure contains information on a single physical region in three-space
where the surface is self-intersecting. Each physical region consists of one or
more parametric regions.

The structure has the following fields :

'type'              Indicates the type of self-intersection.

'n_positions'       Indicates the number of positions returned. Currently this
                    will always equal 1.

'positions'         An array of length 'n_positions' containing positions in
                    three-space where the surface is self-intersecting. Note
                    that these may not be the only positions in the physical
                    region where the surface is self-intersecting. Currently
                    only one position will be returned.

'n_uvboxes'         Indicates the number of parametric regions returned.

'uvboxes'           An array of length 'n_uvboxes'. This will contain two or
                    more parametric regions bounding where the surface is self-
                    intersecting, unless 'type' is PK_self_int_type_sing_c, in
                    which case there will be only one parametric region.

'n_entities'        Unused.

'entities'          Unused.