PK_EDGE_ask_body   

PK_ERROR_code_t  PK_EDGE_ask_body
(
--- received arguments ---
PK_EDGE_t        edge,              --- an edge

--- returned arguments ---
PK_BODY_t *const body               --- owning body
)


This function returns the body which contains the given edge.

If the edge is contained within a compound body ( see PK_BODY_ask_config ) then
the child body to which the edge belongs is returned.