Ignore:
Timestamp:
Apr 30, 2010, 10:07:23 AM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
59e7832
Parents:
f70c2a
Message:

Declared the Vector class as single point spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/tesselationhelpers.cpp

    rf70c2a r4eee8f  
    8888  center->at(2) =  0.5 * m14/ m11;
    8989
    90   if (fabs(a.Distance(*center) - RADIUS) > MYEPSILON)
    91     DoeLog(1) && (eLog()<< Verbose(1) << "The given center is further way by " << fabs(a.Distance(*center) - RADIUS) << " from a than RADIUS." << endl);
     90  if (fabs(a.distance(*center) - RADIUS) > MYEPSILON)
     91    DoeLog(1) && (eLog()<< Verbose(1) << "The given center is further way by " << fabs(a.distance(*center) - RADIUS) << " from a than RADIUS." << endl);
    9292
    9393  gsl_matrix_free(A);
     
    232232    alpha = 2.*M_PI - alpha;
    233233  DoLog(1) && (Log() << Verbose(1) << "INFO: RelativeNewSphereCenter is " << helper << ", RelativeOldSphereCenter is " << RelativeOldSphereCenter << " and resulting angle is " << alpha << "." << endl);
    234   radius = helper.Distance(RelativeOldSphereCenter);
     234  radius = helper.distance(RelativeOldSphereCenter);
    235235  helper.ProjectOntoPlane(NormalVector);
    236236  // check whether new center is somewhat away or at least right over the current baseline to prevent intersecting triangles
Note: See TracChangeset for help on using the changeset viewer.