PMeshObj mesh1, mesh2;
Mesh entity types are as follows:
/* Mesh Regions */
PMeshRegn reg1, oreg, regarr[50];
/* Mesh Vertices (nodes) */
PMeshVert vert, *verts. vert[20][30];
/* Mesh Face */
PMeshFace rface;
/* Mesh Edge */
PMeshEdge face_edges[4];
/* Type of mesh region or element
*/
/* This is an enum decl which can be
*/
/* TET, PYRAMID, PRISM, HEX or RDELETED
*/
ElType reg_type;
/* Type of mesh vertec */
/* Can be VIGNORE, VPARENT, VDELETED */
VType vert_type;
Geometric model entity types are:
/* Model entity - can be a region, face,
edge or a vertex */
PGeomEntity gent;
/* Model region */
PGeomRegn greg;
/* Model face */
PGeomFace gfaces[20], **gfaces2, interface;
/* Model edge - not used at this point */
PGeomEdge geds[], *gfeds;
/* Model vertex - not used at this point
*/
PGeomVert gv1, gv2;
/* Type of model entity - can be GREGION,
GFACE, GEDGE, GVERTEX */
GType geomtype;