gofigure2/GoFigure2 — comment on commit 6d9f2550329b2a0de530a4d31dae785e101d9e58
File: Code/GUI/lib/VisualizationTraceContainers/TrackContainer.cxx line 2050
By arnaudgelas:

min = ( trace_it->PointsMap.begin() )->first;
max = ( trace_it->PointsMap.rbegin() )->first;

You can then compare iT with min and max!
BTW, it is better to avoid having variables called min and max (might create some warnings on specific compilers).