![]() |
PK_CURVE_self_ints_t |
struct PK_CURVE_self_ints_s { int n_self_int; --- number of self-intersections PK_CURVE_self_int_t *self_int; --- details of self-intersections }; typedef struct PK_CURVE_self_ints_s PK_CURVE_self_ints_t; A structure packaging details of self-intersections on a curve.
PK_CURVE_find_self_int
PK_CURVE_fix_self_int
PK_CURVE_self_ints_f
The structure has the following fields : 'n_self_int' The number of self-intersections on the curve. 'self_int' An array of length 'n_self_int', holding information on each self-intersecting physical region. Each self- intersection corresponds to a physical region in three- space, and consists of two or more parametric regions of the curve. For example, for a curve which has two parametric regions "A" and "B" occupying the same physical space, and two more parametric regions "C" and "D" occupying another space, then the function would return an array of length two, with one entry storing the parametric regions "A" and "B", and the other entry storing the parametric regions "C" and "D". The function PK_CURVE_self_ints_f may be used to free associated memory.