CAM: fix too long comments that are problematic for precommit
This commit is contained in:
@@ -2843,9 +2843,11 @@ void Adaptive2d::ProcessPolyNode(Paths boundPaths, Paths toolBoundPaths)
|
||||
|
||||
areaPD = area / double(stepScaled); // area per distance
|
||||
interp.addPoint(areaPD, angle);
|
||||
double error = areaPD - targetAreaPD;
|
||||
// cout << " iter:" << iteration << " angle:" << angle << " area:" << areaPD << " target:" << targetAreaPD << " error:" << error << " max:"<< maxError << endl;
|
||||
if (fabs(error) < maxError)
|
||||
double error = areaPD - targetAreaPD;
|
||||
// cout << " iter:" << iteration << " angle:" << angle << " area:" << areaPD
|
||||
// << " target:" << targetAreaPD << " error:" << error << " max:" << maxError
|
||||
// << endl;
|
||||
if (fabs(error) < maxError)
|
||||
{
|
||||
angleHistory.push_back(angle);
|
||||
if (angleHistory.size() > ANGLE_HISTORY_POINTS)
|
||||
|
||||
Reference in New Issue
Block a user