libmove3d  3.13.0
Public Attributes
poly_face Struct Reference

List of all members.

Public Attributes

poly_planeplane
unsigned int nb_points
poly_index * the_indexs_points
unsigned int face_is_convex
p3d_vector3 centroid
 the two following fields are computed with p3d_compute_face_areas_and_centroids():
double area
 geometric centroid of the face (not computed by default)
int neighbours [3]
 area of the face (must be triangle); (not computed by default)
int edges [3]

Member Data Documentation

array of the indices (starting from zero) of the face edges (all faces must be triangles) in the p3d_polyhedre's edge array: NB: if the i-th has not been computed yet then edges[i] is set to -1 (not computed by default)

Warning:
these indices start from 1

area of the face (must be triangle); (not computed by default)

the two following fields are computed with p3d_compute_edges_and_face_neighbours(): array of the indices (starting from zero) of the neighbours faces (all faces must be triangles; consequently a face has at most 3 adjacent faces) in the p3d_polyhedre's face array: NB: if the triangle has no i-th neighbour then neighbours[i] is set to -1 (not computed by default)


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines