PK_TORUS_make_solid_body   

PK_ERROR_code_t  PK_TORUS_make_solid_body
(
--- received arguments ---
PK_TORUS_t       torus,         --- torus

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


This function creates a solid body from a torus.


Specific Errors:
    PK_ERROR_R1_R2_mismatch         osculating torus


If the 'torus' is an orphan, it will become the surface of the face of the
created body.  If the torus is not an orphan, then a copy of it will be made
and this used to create the solid.