 |
PK_BODY_find_laminar_edges |
|
PK_ERROR_code_t PK_BODY_find_laminar_edges
(
--- received arguments ---
PK_BODY_t body, --- a body
--- returned arguments ---
int *const n_components, --- number of components (>= 0)
PK_EDGE_array_t **const components --- components (optional)
)
This function returns the laminar edges in the given body. Laminar edges are
those with exactly one fin, i.e. one attached face on one 'side'.
The edges are grouped into connected components. If the body is a manifold
sheet, the edges in each component will be ordered into a loop in the
direction of the fins of the edges. Each component will have at least one edge,
but the number of components may be zero.
The output array 'components' is optional. If it is set to NULL, the function
will only compute the number of components.