 |
PK_MESH_facet_vector_t |
|
struct PK_MESH_facet_vector_s
{
int n_vertex_positions; --- Number of vertices in
--- block (3 per facet).
PK_VECTOR_t *vertex_positions; --- Positions of vertices
--- of facets.
PK_VECTOR1_t *vertex_normals; --- Normals of vertices
--- (may be NULL).
};
typedef struct PK_MESH_facet_vector_s PK_MESH_facet_vector_t;
This structure contains the data for a block of facets described as
independent facets. Parasolid will derive the connectivity between the
facets.
Used in:
PK_MESH_facet_t
The independent facets format describes each facet as a triple of vertex
positions. See here for more information.
Description of fields:
'n_vertex_positions' The number of vertices in the array 'vertex_positions'.
'n_vertex_positions' must be a multiple of three where
groups of three 'vertex_positions' describe a facet.
If 'vertex_normals' is not NULL then it is also the
number of vertex normals.
'vertex_positions' The positions of the facet vertices. Each group of
three 'vertex_positions' describes a facet.
'vertex_normals' If not NULL, the normals of the vertices defined
by 'vertex_positions'.