Changeset 2cd534


Ignore:
Timestamp:
Apr 22, 2010, 2:05:32 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
d22a30
Parents:
423c7b
Message:

FindNonConvexBorder(): Instead of listing all open lines, just list those without candidates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/boundary.cpp

    r423c7b r2cd534  
    989989  // 2. expand from there
    990990  while ((!TesselStruct->OpenLines.empty()) && (OneLoopWithoutSuccessFlag)) {
    991     // 2a. print OpenLines
    992     DoLog(1) && (Log() << Verbose(1) << "There are " << TesselStruct->OpenLines.size() << " open lines to scan for candidates:" << endl);
     991    (cerr << "There are " <<  TesselStruct->TrianglesOnBoundary.size() << " triangles and " << TesselStruct->OpenLines.size() << " open lines to scan for candidates." << endl);
     992    // 2a. print OpenLines without candidates
     993    DoLog(1) && (Log() << Verbose(1) << "There are the following open lines to scan for a candidates:" << endl);
    993994    for (CandidateMap::iterator Runner = TesselStruct->OpenLines.begin(); Runner != TesselStruct->OpenLines.end(); Runner++)
    994       DoLog(1) && (Log() << Verbose(1) << " " << *(Runner->second) << endl);
     995      if (Runner->second->pointlist.empty())
     996        DoLog(1) && (Log() << Verbose(1) << " " << *(Runner->second) << endl);
    995997
    996998    // 2b. find best candidate for each OpenLine
Note: See TracChangeset for help on using the changeset viewer.