 |
PK_LROD_ask_geometry_r_t |
|
struct PK_LROD_ask_geometry_r_s
{
int r_t_version; --- version number of return structure
PK_LROD_shape_t shape; --- shape of lrod
PK_LROD_inherit_t inheritance; --- inheritance type of lrod
int n_radii; --- number of radii of lrod
double *radii; --- radii of lrod
};
typedef struct PK_LROD_ask_geometry_r_s PK_LROD_ask_geometry_r_t;
A structure packaging the geometry of the lrod.
Used in:
PK_LROD_ask_geometry
PK_LROD_ask_geometry_r_f
The structure has the following fields:
'shape' The shape of the lrod.
'inheritance' Describes how the terminal radii of the lrod are inherited
from the lballs.
'n_radii' The number of radii of the lrod.
'radii' The radii of the lrod.
If 'shape' is PK_LROD_shape_cyl_c then one radius will be
returned.
If 'shape' is PK_LROD_shape_cone_c then two radii will be
returned. The first radius will be the radius of the lrod
associated with the first lball returned by PK_LROD_ask_lballs.
The second radius will be the radius of the lrod associated
with the second lball returned by PK_LROD_ask_lballs.
The function PK_LROD_ask_geometry_r_f may be used to free associated memory.