Changeset 423c7b


Ignore:
Timestamp:
Apr 22, 2010, 2:02:09 PM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
2cd534
Parents:
1f2e46
Message:

Changed verbosity of "sum of angle"-warning in GetCenterofCircumcircle() to 2 instead of 1.

  • This is in most case an error, but due to linearity of the involved three points. And we don't check it.
  • The check is done later by comparing the lengths from both baseline's endpoints to NewPlaneCenter, which have to be equal.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/tesselationhelpers.cpp

    r1f2e46 r423c7b  
    192192  //Log() << Verbose(1) << "INFO: alpha = " << alpha/M_PI*180. << ", beta = " << beta/M_PI*180. << ", gamma = " << gamma/M_PI*180. << "." << endl;
    193193  if (fabs(M_PI - alpha - beta - gamma) > HULLEPSILON) {
    194     DoeLog(1) && (eLog()<< Verbose(1) << "GetCenterofCircumcircle: Sum of angles " << (alpha+beta+gamma)/M_PI*180. << " > 180 degrees by " << fabs(M_PI - alpha - beta - gamma)/M_PI*180. << "!" << endl);
     194    DoeLog(2) && (eLog()<< Verbose(2) << "GetCenterofCircumcircle: Sum of angles " << (alpha+beta+gamma)/M_PI*180. << " > 180 degrees by " << fabs(M_PI - alpha - beta - gamma)/M_PI*180. << "!" << endl);
    195195  }
    196196
Note: See TracChangeset for help on using the changeset viewer.