PK_BODY_create_sheet_rectangle   


PK_ERROR_code_t      PK_BODY_create_sheet_rectangle
(
--- received arguments ---
double               x,            --- x dimension of rectangle (>0)
double               y,            --- y dimension of rectangle (>0)
const PK_AXIS2_sf_t *basis_set,    --- position and orientation (may be NULL)

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


This function creates a sheet rectangle.


Specific Errors:
    PK_ERROR_distance_le_0          x or y <= zero


In its local coordinate system, this function creates a sheet rectangle in the
xy plane centred at the origin, and whose total lengths in the local x and y
directions are x and y.

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.