Changeset 2939
- Timestamp:
- 02/01/10 08:28:38 (15 years ago)
- Location:
- issm/trunk/src/c/Bamgx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Bamgx/Mesh2.h
r2937 r2939 254 254 int flag ; 255 255 public: 256 GeometricalEdge 256 GeometricalEdge* link; // if Cracked() or Equi() 257 257 258 258 // end of data … … 718 718 } 719 719 720 //Genetare mesh from geometry 720 721 Triangles(Int4 nbvx,Geometry & G) :Gh(G),BTh(*this){ 721 722 try { GeomToTriangles0(nbvx);} -
issm/trunk/src/c/Bamgx/objects/Triangles.cpp
r2938 r2939 3131 3131 PreInit(inbvx); 3132 3132 3133 //build background mesh flag (1 if background, else 0) 3133 3134 int background = &BTh != this; 3134 3135 nbv=0; … … 3136 3137 NbVerticesOnGeomEdge=0; 3137 3138 3138 //Compute bumber of vertices on geometrical vertex3139 //Compute number of vertices on geometrical vertex 3139 3140 for (i=0;i<Gh.nbv;i++){ 3140 3141 if (Gh[i].Required() && Gh[i].IsThe() ) NbVerticesOnGeomVertex++; … … 3150 3151 nbv=0; 3151 3152 for (i=0;i<Gh.nbv;i++){ 3153 /*Add vertex only if required and not duplicate 3154 * (IsThe is a method of GeometricalVertex that checks 3155 * that we are taking into acount only one vertex is 3156 * 2 vertices are superimposed) */ 3152 3157 if (Gh[i].Required() && Gh[i].IsThe()) {//Gh vertices Required 3153 3158 if (nbv<nbvx) vertices[nbv]=Gh[i];
Note:
See TracChangeset
for help on using the changeset viewer.