gCAD3D 2.35
ut_msh.h File Reference

Go to the source code of this file.

Data Structures

struct  Verts
 
struct  Face
 
struct  Fac3
 
struct  Faces
 
struct  FacNf
 Face with NeigbourFaces. More...
 
struct  Edge
 ipt: index points; More...
 
struct  Edg3
 i1, i2 index to points More...
 
struct  EdgeLine
 Typ_EdgeLine. More...
 
struct  Edges
 
struct  Mesh
 Typ_SURMSH 2007-03-24 TB. More...
 
struct  SegBnd
 Typ_EdgSur. More...
 
struct  BndSur
 Typ_SURBND. More...
 

Macros

#define UT3D_ck_triaOrientI(i0, i1)   (((((i0)==0)&&((i1)==1))||(((i0)==1)&&((i1)==2))||(((i0)==2)&&((i1)==0))) ? CCW : CW)
 UT3D_ck_triaOrientI get orientation from indices. More...
 
#define UT3D_ck_triaOrientV(i0, i1)   (((((i0)==1)&&((i1)==2))||(((i0)==2)&&((i1)==4))||(((i0)==4)&&((i1)==1))) ? CCW : CW)
 UT3D_ck_triaOrientV get orientation from indices. More...
 
#define UT3D_ind3Tria_2ind(i1, i2)   (IABS((i1)+(i2)-3))
 
#define UT3D_tria_pta_fac(tri, fac, pTab)
 

Macro Definition Documentation

#define UT3D_ck_triaOrientI (   i0,
  i1 
)    (((((i0)==0)&&((i1)==1))||(((i0)==1)&&((i1)==2))||(((i0)==2)&&((i1)==0))) ? CCW : CW)

UT3D_ck_triaOrientI get orientation from indices.

CCW is 01 12 20; CW ist 02 21 10; Val0=1, Val1=2, Val2=4.
#define UT3D_ck_triaOrientV (   i0,
  i1 
)    (((((i0)==1)&&((i1)==2))||(((i0)==2)&&((i1)==4))||(((i0)==4)&&((i1)==1))) ? CCW : CW)

UT3D_ck_triaOrientV get orientation from indices.

CCW is 01 12 20; CW ist 02 21 10; Val0=1, Val1=2, Val2=4.
#define UT3D_ind3Tria_2ind (   i1,
  i2 
)    (IABS((i1)+(i2)-3))
#define UT3D_tria_pta_fac (   tri,
  fac,
  pTab 
)
Value:
{\
(tri)->pa[0] = &(pTab)[(fac)->i1];\
(tri)->pa[1] = &(pTab)[(fac)->i2];\
(tri)->pa[2] = &(pTab)[(fac)->i3];}