PK_BODY_trim_gap_analysis   

PK_ERROR_code_t     PK_BODY_trim_gap_analysis
(
--- received arguments ---
PK_BODY_t           body,       --- a body
int                 n_edges,    --- number of edges
const PK_EDGE_t     edges[],    --- edges
double              tol,        --- tolerance

--- returned arguments ---
int          *const n_vertices, --- number of problem vertices
PK_VERTEX_t **const vertices    --- problem vertices
)


This function finds gaps in the edges supplied to a failed trim operation.


The body and edges arguments should be the same as a trim operation which has
failed to trim. The tolerance indicates the size of gap which will be detected.
Gaps of size less than tolerance will be detected and vertices bordering on
these gaps are returned.