void pcomp_fill_area_set3_geom_norm (
Pvertex3_set *vertex_data, /* list of vertex lists */ Pint *error_ind, /* OUT error indicator */ Pvec3 *unit_normal /* OUT unit normal vector */
)
typedef struct {
Pint num_lists; /* number of vertex lists */
Pvertex3_list *vertices; /* list of vertex lists */
} Pvertex3_set;
typedef struct {
Pint num_vertices; /* number of vertices */
Pint num_data_per_vertex; /* number of data values per vertex */
Ppoint3 *vertex_points; /* list of vertex points */
Pcolrv_ptr vertex_colrvs; /* list of vertex colours */
Pvec3 *vertex_norms; /* list of vertex normals */
Pfloat *vertex_data; /* list of vertex data lists */
} Pvertex3_list;
The geometric normal to the fill area set defined by the vertex coordinates is returned in the unit normal vector.
Note, only num_vertices and vertex_points fields are used.
If the geometric normal cannot be determined, the values returned in the output parameters are unchanged and the error indicator is set to one of the following error numbers to indicate the reason for non-availability:
fill area set 3 with data, set of fill area sets 3 with data