PK_VERTEX_ask_body   

PK_ERROR_code_t  PK_VERTEX_ask_body
(
--- received arguments ---
PK_VERTEX_t      vertex,            --- a vertex

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


This function returns the body of the given vertex.

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