Template Struct HE_Face#

Struct Documentation#

template<typename PropertyFaces>
struct HE_Face#

Structure that contains all the faces in the mesh, as well basic information for each one.

Template Parameters:

Property

Public Members

int id#

face id

bool outer#

if true, face is a ghost outer face

int nsides#

number of sides face has

real3 normal#

normal to that face

real area#

area of the triangle

real g_reference[3]#

reference metric tensor [0] |(v2-v1)|^2 [1] (v2-v1)*(v3-v1) [2]|(v3-v1)|^2

real g_reference_inv[3]#

reference inverse metric tensor

real3 normal_reference#

reference normal

real3 r12_reference#

r12 reference

real3 r13_reference#

r13 reference

int v1#
int v2#
int v3#

the 3 vertices that belong to that face

bool boundary#

if true, the face is a boundary

int _hedge#

HANDLE INDEX OF: one of the half-edges bordering the face.

int type#

Vertex/Edge/Face Type.

real energy#

Vertex/Edge/Face energy.

PropertyFaces _property#