MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / updateFiniteRange

Function updateFiniteRange

pj_plotting/core/src/PointSeriesXY.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void updateFiniteRange(double value, double& min_value, double& max_value, bool& found_value) {
43 if (!std::isfinite(value)) {
44 return;
45 }
46 min_value = found_value ? std::min(min_value, value) : value;
47 max_value = found_value ? std::max(max_value, value) : value;
48 found_value = true;
49}
50
51} // namespace
52

Callers 1

boundingRectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected