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

Function referencePointAt

pj_plotting/widget/src/CurveTracker.cpp:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace {
24
25[[nodiscard]] std::optional<QPointF> referencePointAt(const QwtPlotCurve* curve, std::optional<QPointF> reference) {
26 return reference.has_value() ? curvePointAt(curve, reference->x()) : std::nullopt;
27}
28
29} // namespace
30

Callers 1

setPositionMethod · 0.85

Calls 2

curvePointAtFunction · 0.85
xMethod · 0.45

Tested by

no test coverage detected