Commit 8382c2c8 authored by Arne Graf's avatar Arne Graf

wallAvoidDistance was ignored, fixed now

parent 86e980bb
......@@ -74,9 +74,7 @@ FloorfieldViaFM::FloorfieldViaFM(const Building* const buildingArg, const double
resetGoalAndCosts(wall, numOfExits);
//thresholdArg set negative because: it shows, that we NEED all distance values throughout the domain!
//threshold is used in calculateFloorfield(...)
calculateDistanceField(-1.); //negative threshold is ignored, range is believed to be (.4 - ...) at stepsize .0625
calculateDistanceField(threshold); //negative threshold is ignored, range is believed to be (.4 - ...) at stepsize .0625
testoutput("AADistanceField.vtk","AADistanceField.txt", dist2Wall);
//std::cout<< "Test (50/101): " << grid->getKeyAtXY(50., 101.) << " " << grid->get_x_fromKey(grid->getKeyAtXY(50., 101.)) << " " << grid->get_y_fromKey(grid->getKeyAtXY(50., 101.)) << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment