Ignore:
Timestamp:
Apr 22, 2010, 3:47:22 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
af20f3
Parents:
424d3fe
Message:

FIX: Tesselation::FindStartingTriangle() returns false when no triangle could have been created.

  • this may act in the future as the beginning to some mean of increasing radii or another way to find a starting triangle.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/boundary.cpp

    r424d3fe rf07455  
    980980
    981981  // 1. get starting triangle
    982   TesselStruct->FindStartingTriangle(RADIUS, LCList);
     982  if (!TesselStruct->FindStartingTriangle(RADIUS, LCList)) {
     983    DoeLog(0) && (eLog() << Verbose(0) << "No valid starting triangle found." << endl);
     984    performCriticalExit();
     985  }
    983986  if (filename != NULL) {
    984987    if ((DoSingleStepOutput && ((TesselStruct->TrianglesOnBoundary.size() % SingleStepWidth == 0)))) { // if we have a new triangle and want to output each new triangle configuration
Note: See TracChangeset for help on using the changeset viewer.