 |
PK_LATTICE_graph_cyl_o_t |
|
struct PK_LATTICE_graph_cyl_o_s
{
int o_t_version; --- Version number of options
--- structure
int n_lball_positions; --- Number of lballs in
--- block.
PK_VECTOR_t *lball_positions; --- Positions of lballs.
double *lball_radii; --- Radii of lballs (may be
--- NULL).
double *lball_blend_sizes; --- Size of lball blends (may
--- be NULL).
int n_lrod_indices; --- Number of lrod indices
--- in block.
int *lrod_start_indices; --- Indices of lballs at start
--- of lrods.
int *lrod_end_indices; --- Indices of lballs at end
--- of lrods.
double *lrod_radii; --- Radii of lrods (may be
--- NULL).
};
typedef struct PK_LATTICE_graph_cyl_o_s PK_LATTICE_graph_cyl_o_t;
This structure contains the data for a block of graph describing a lattice,
with cylinder-shaped lrods, in an indexed form.
Used in:
PK_LATTICE_graph_data_t
This is the datatype for a graph index block of lattice data. The
graph indexed format describes each lrod via the start and end lball indices,
which are absolute to the existing lballs and the 'lball_positions' array
ordering.
Description of fields:
'n_lball_positions' The number of lballs in the array 'lball_positions'.
'lball_positions' The positions of the lballs of the lattice in this
block. There cannot be duplicates.
'lball_radii' The radii of the lballs of the lattice in this
block. May be NULL if a global lball radius has been
specified in the options structure
PK_LATTICE_create_by_graph_o_t.
'lball_blend_sizes' The sizes of the lball blends of the lattice in this
block. Any lballs with a blend size of zero are not
blended. This array may be NULL if, in the options
structure PK_LATTICE_create_by_graph_o_t,
'lball_blend_type' is PK_LBALL_blend_none_c
(specifying no blends) or 'lball_blend_size' is nonzero
(specifying a global blend size).
'n_lrod_indices' The number of lrod indices.
'lrod_start_indices' An array of lball indices at the start of the lrods of
the lattice in this block.
'lrod_end_indices' An array of lball indices at the end of the lrods of
the lattice in this block.
'lrod_radii' The radii of the lrods of the lattice in this block.
May be NULL if the lrod radius inheritance is not
PK_LROD_inherit_no_c or a global lrod radius has been
specified in the options structure
PK_LATTICE_create_by_graph_o_t.