- Timestamp:
- 06/22/06 11:11:44 (18 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodStripsConstructor.cpp
r1025 r1048 139 139 140 140 //cStripsT.eraseAtPos(i); 141 cStripsT.erase( this->cStrips[t].begin()+i);141 cStripsT.erase(cStripsT.begin()+i); 142 142 i--; 143 143 r++; … … 160 160 if (!sigue && r) 161 161 { 162 if (regLOD.strip == this->MARCAVACIO)163 {164 regLOD.strip = t;165 }166 162 167 ++totalRegs; 168 163 164 /* 169 165 cDatos.push_back(p0); 170 166 cDatos.push_back(r); … … 172 168 r = 0; 173 169 k = long(cStripsT.size()-r-3); 170 */ 171 long auxp0, auxr; 172 //regLOD.strip= t; 173 auxp0= p0; 174 auxr= r; 175 176 if (r==1) 177 { 178 while(r>0) 179 { 180 cStripsT.insert(cStripsT.begin()+p0,cStripsT[p0]); 181 r--; 182 } 183 i=p0; 184 } 185 else 186 { 187 if (r%2) //If r is odd the changes are undone 188 { 189 cStripsT.insert(cStripsT.begin()+p0,cStripsT[p0]); 190 r--; 191 auxr=r; 192 } 193 //listaPos.push_back(pos); 194 cDatos.push_back(auxp0); 195 cDatos.push_back(auxr); 196 if (regLOD.strip == this->MARCAVACIO) 197 { 198 regLOD.strip = t; 199 } 200 201 ++totalRegs; 202 } 203 204 205 r= 0; 206 k=cStripsT.size()-3; 207 174 208 } 175 209
Note: See TracChangeset
for help on using the changeset viewer.