Changeset 20634
- Timestamp:
- 05/23/16 09:16:19 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/classes/kriging/Quadtree.cpp ΒΆ
r18237 r20634 502 502 QuadtreeBox* qtreebox = new QuadtreeBox(*this); 503 503 504 if (this->box){ 505 for (int i=0; i<4; ++i){ 506 if(this->box[i]) qtreebox->box[i] = reinterpret_cast<QuadtreeBox*>(this->box[i]->copy()); 507 else qtreebox->box[i] = NULL; 508 } 509 } 510 if (this->obs){ 511 for (int i=0; i<4; ++i){ 512 if(this->obs[i]) qtreebox->obs[i] = reinterpret_cast<Observation*>(this->obs[i]->copy()); 513 else qtreebox->obs[i] = NULL; 514 } 504 for (int i=0; i<4; ++i){ 505 if(this->box[i]) qtreebox->box[i] = reinterpret_cast<QuadtreeBox*>(this->box[i]->copy()); 506 else qtreebox->box[i] = NULL; 507 } 508 for (int i=0; i<4; ++i){ 509 if(this->obs[i]) qtreebox->obs[i] = reinterpret_cast<Observation*>(this->obs[i]->copy()); 510 else qtreebox->obs[i] = NULL; 515 511 } 516 512
Note:
See TracChangeset
for help on using the changeset viewer.