Changeset 5605 for issm/trunk/src/c/objects/Bamg/Triangle.cpp
- Timestamp:
- 08/27/10 08:37:12 (15 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  issm/trunk/src/c/objects/Bamg/Triangle.cpp (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      issm/trunk/src/c/objects/Bamg/Triangle.cppr5460 r5605 259 259 /*FUNCTION Triangle::SetAdj2{{{1*/ 260 260 void Triangle::SetAdj2(short a,Triangle *t,short aat){ 261 adj[a]=t; //the adjacent triangle to the edge a is t 262 AdjEdgeIndex[a]=aat; //position of the edge in the adjacent triangle 263 if(t) { //if t!=NULL add adjacent triangle to t (this) 261 /*For current triangle: 262 * - a is the index of the edge were the adjency is set (in [0 2]) 263 * - t is the adjacent triangle 264 * - aat is the index of the same edge in the adjacent triangle*/ 265 adj[a]=t; 266 AdjEdgeIndex[a]=aat; 267 if(t){ //if t!=NULL add adjacent triangle to t (this) 264 268 t->adj[aat]=this; 265 269 t->AdjEdgeIndex[aat]=a; 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)
