You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We check for too much control logic in the main while loop. This makes main.cpp quite unreadable. Since the basic steps are the same, I believe we should shift all these changes to a larger function that redirects control appropriately.
For instance, before project, instead of checking at every step whether we use qtdt or triangulation or billinear_interpolation, we only call inset_state.project() and we put the control logic within inset_state.project().
cartogram-cpp/src/main.cpp
Lines 269 to 396 in 99aed8f
The text was updated successfully, but these errors were encountered: