gCAD3D 2.40
ut_itmsh.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 MSH_EDGLN_BL   1
 
#define MSH_EDGLN_AB   2
 
#define MSH_EDGLN_IB   3
 
#define MSH_EDGLN_OB   4
 
#define MSH_EDGLN_IC   5
 
#define MSH_EDGLN_OC   6
 
#define MSH_EDGLN_LN   7
 
#define MSH_EDGLN_SB   -1
 
#define MSH_EDGLN_ERR   -16
 
#define MSH_GRIDBOX   8
 
#define MSH_nFAC   9
 
#define MSH_PATCH   10
 
#define MSH_SURF   11
 
#define MSH_SKIN   12
 
#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_fac(tri, fac, pTab)
 
#define MSH2D_facnr_edgnr(edgNr)   edgNr+4
 
#define MSH2D_edgnr_facnr(facNr)   (facNr*3)+1
 

Macro Definition Documentation

#define MSH_EDGLN_BL   1
#define MSH_EDGLN_AB   2
#define MSH_EDGLN_IB   3
#define MSH_EDGLN_OB   4
#define MSH_EDGLN_IC   5
#define MSH_EDGLN_OC   6
#define MSH_EDGLN_LN   7
#define MSH_EDGLN_SB   -1
#define MSH_EDGLN_ERR   -16
#define MSH_GRIDBOX   8
#define MSH_nFAC   9
#define MSH_PATCH   10
#define MSH_SURF   11
#define MSH_SKIN   12
#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_fac (   tri,
  fac,
  pTab 
)
Value:
{\
(tri)->pa[0] = &(pTab)[(fac)->i1];\
(tri)->pa[1] = &(pTab)[(fac)->i2];\
(tri)->pa[2] = &(pTab)[(fac)->i3];}
static Point pa[PT_MAX]
Definition: tst_gl1.c:108
#define MSH2D_facnr_edgnr (   edgNr)    edgNr+4
#define MSH2D_edgnr_facnr (   facNr)    (facNr*3)+1