PK_BODY_ask_topology   

PK_ERROR_code_t                 PK_BODY_ask_topology
(
--- received arguments ---
PK_BODY_t                       body,        --- body
const PK_BODY_ask_topology_o_t *options,     --- options

--- returned arguments ---
int                      *const n_topols,    --- number of topological
                                             --- entities
PK_TOPOL_t              **const topols,      --- topological entities
PK_CLASS_t              **const classes,     --- classes of topological
                                             --- entities
int                      *const n_relations, --- number of relations
int                     **const parents,     --- parents in relations
int                     **const children,    --- children in relations
PK_TOPOL_sense_t        **const senses       --- senses in relations
)


This function returns a definition of the topology of a body.


The representation of topology returned by this function is the same as for
PK_BODY_create_topology_2 where it is described.  The output from this
function is suitable for input to PK_BODY_create_topology_2.

It is optional whether fins are included in the returned topological
information. This is controlled by a switch in the options structure