get/set the node connectivity list of a specified cell set
int FLDset_poly_nnodes (
OMobj_id cell_set,
int *poly_conn_array,
int size, int mode);
int FLDget_poly_nnodes (
OMobj_id cell_set,
int **poly_conn_array,
xp_long *size, int mode);
int FLDget_poly_nnodes_n (
OMobj_id cell_set,
int **poly_conn_array,
int *size, int mode);
These routines get/set the nnodes array within a specified Polyhedron cell set
The FLDget_poly_nnodes routine can be used for both getting and setting the poly_nnodes_list array. When setting with a "get" routine (mode = OM_GET_ARRAY_WR or OM_GET_ARRAY_RW), it returns an integer representing a pointer to an integer representing a pointer to a pre-allocated array, and the developer just needs to fill in the values.
If the cell set is a Polyhedron, this routine returns the array of integers each of them representing number of nodes (or nunber of sides) for each polygon. For example if your Polyhedron cell_set has 3 polys, triangle, quad and five-sided polygon, the poly_nnodes_array will look {3,4,5}. To set this array use FLDset_poly_nnodes().