 |
PK_mloop_details_r_t |
|
struct PK_mloop_details_r_s
{
int perimeter; --- which perimeter
int n_plines; --- number of plines for this mloop
PK_PLINE_t *plines; --- the plines for this mloop
PK_MFIN_t *pline_mfins; --- tracking mfin for each pline
};
typedef struct PK_mloop_details_r_s PK_mloop_details_r_t;
This structure contains details of each mloop returned.
Used in:
PK_MFACET_find_perimeters_r_t
The structure has the following fields:
'perimeter' Integer labelling the perimeter this mloop belongs to.
All mloops with the same 'perimeter' bound the same
mfin-connected set of mfacets. The first perimeter is
labelled 1.
'n_plines' The number of 'plines' returned for this mloop. This will be
set to 0 if the 'want_plines' option is set to
PK_LOGICAL_false.
'plines' The polylines created to represent this mloop. This will be
set to NULL if the 'want_plines' option is set to
PK_LOGICAL_false, otherwise each mloop will have at least
one 'pline'. An mloop containing mvertices that have more
than one perimeter mfin pointing into them will have more
than one 'pline', because the 'pline's will terminate
at these mvertices. Each 'pline' may be open or closed,
but may not self-intersect.
'pline_mfins' The first mfin of the set from which each pline was created.
This will be set to NULL if the 'want_plines' option is set to
PK_LOGICAL_false. The nth item in 'pline_mfins' corresponds
to the nth item in 'plines'.