Previous Next Up Title Contents Index Functions Index Top Library

COMPUTE FILL AREA SET 3 GEOMETRIC NORMAL

PCOMP_FILL_AREA_SET3_GEOM_NORM


CALL SEQUENCE

void pcomp_fill_area_set3_geom_norm (
)

TYPES

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;

PHIGS STATE

(PHOP,*,*,*)

EFFECT

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:

ERRORS

2
Ignoring function, function requires state (PHOP, *,*,*)
505
Warning, the fill area is degenerate

SEE ALSO

fill area set 3 with data, set of fill area sets 3 with data


Previous Next Up Title Contents Index Functions Index Top Library