PK_BODY_ask_regions   


PK_ERROR_code_t     PK_BODY_ask_regions
(
--- received arguments ---
PK_BODY_t           body,           --- a body

--- returned arguments ---
int          *const n_regions,      --- number of regions (>= 1)
PK_REGION_t **const regions         --- regions (optional)
)


This function returns the regions of the given body.


The body's infinite region will always be the first one in the array.

The output array regions is optional. If it is set to NULL, the function
will only compute the number of regions in the body.