Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/unittests/tesselation_insideoutsideunittest.cpp
rc43766 r1f2e46 94 94 while ((!TesselStruct->OpenLines.empty()) && (OneLoopWithoutSuccessFlag)) { 95 95 // 2a. fill all new OpenLines 96 Log() << Verbose(1) << "There are " << TesselStruct->OpenLines.size() << " open lines to scan for candidates:" << endl;96 DoLog(1) && (Log() << Verbose(1) << "There are " << TesselStruct->OpenLines.size() << " open lines to scan for candidates:" << endl); 97 97 for (CandidateMap::iterator Runner = TesselStruct->OpenLines.begin(); Runner != TesselStruct->OpenLines.end(); Runner++) 98 Log() << Verbose(2) << *(Runner->second) << endl;98 DoLog(2) && (Log() << Verbose(2) << *(Runner->second) << endl); 99 99 100 100 for (CandidateMap::iterator Runner = TesselStruct->OpenLines.begin(); Runner != TesselStruct->OpenLines.end(); Runner++) { … … 102 102 if (baseline->pointlist.empty()) { 103 103 T = (((baseline->BaseLine->triangles.begin()))->second); 104 Log() << Verbose(1) << "Finding best candidate for open line " << *baseline->BaseLine << " of triangle " << *T << endl;104 DoLog(1) && (Log() << Verbose(1) << "Finding best candidate for open line " << *baseline->BaseLine << " of triangle " << *T << endl); 105 105 TesselationFailFlag = TesselStruct->FindNextSuitableTriangle(*baseline, *T, SPHERERADIUS, LinkedList); //the line is there, so there is a triangle, but only one. 106 106 } … … 109 109 // 2b. search for smallest ShortestAngle among all candidates 110 110 double ShortestAngle = 4.*M_PI; 111 Log() << Verbose(1) << "There are " << TesselStruct->OpenLines.size() << " open lines to scan for the best candidates:" << endl;111 DoLog(1) && (Log() << Verbose(1) << "There are " << TesselStruct->OpenLines.size() << " open lines to scan for the best candidates:" << endl); 112 112 for (CandidateMap::iterator Runner = TesselStruct->OpenLines.begin(); Runner != TesselStruct->OpenLines.end(); Runner++) 113 Log() << Verbose(2) << *(Runner->second) << endl;113 DoLog(2) && (Log() << Verbose(2) << *(Runner->second) << endl); 114 114 115 115 for (CandidateMap::iterator Runner = TesselStruct->OpenLines.begin(); Runner != TesselStruct->OpenLines.end(); Runner++) {
Note:
See TracChangeset
for help on using the changeset viewer.
