PK_CURVE_find_surfs_common   

PK_ERROR_code_t   PK_CURVE_find_surfs_common
(
--- received arguments ---
PK_CURVE_t        curve,       --- curve

--- returned arguments ---
int        *const n_surfs,    --- number of common surfs
PK_SURF_t **const surfs       --- common surfs
)


This function finds pairs of surfaces which have the given curve in common.


Specific Errors:
    PK_ERROR_geom_topol_mismatch   curve not attached to an edge (MILD)
    PK_ERROR_general_body          general body (MILD)


The surfaces of faces which meet at an edge associated with the given 'curve'
are returned.  Each pair of surfaces, `surfs[2*i]' and `surfs[2*i+1]',
i = 0,1,2...,  intersect at the given 'curve'.