PK_ERROR_code_t PK_BODY_create_solid_cyl ( --- received arguments --- double radius, --- cylinder radius (>0) double height, --- cylinder height (>0) const PK_AXIS2_sf_t *basis_set, --- position and orientation (may be NULL) --- returned arguments --- PK_BODY_t *const body --- solid body returned ) This function creates a solid cylinder. Specific Errors: PK_ERROR_distance_le_0 radius or 'height' <= zero. In its local coordinate system, this function creates a solid cylinder whose base of the given radius is centred at the origin and lies in the xy plane, and which extends to the given height along the z axis. basis_set positions and orientates the local coordinate system in the world coordinate system. If it is given as NULL, then the local and world coordinate systems are the same. The basis_set in the standard forms of the created CYL surface and CIRCLE curves inherits the ref_direction from the given basis_set.