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

Method sample

pj_plotting/core/src/DatastoreCurveAdapter.cpp:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55QPointF DatastoreCurveAdapter::sample(std::size_t index) const {
56 ensureChunkIndex();
57 if (index >= sample_index_.size()) {
58 return invalidPoint();
59 }
60
61 return readPoint(sample_index_[index]);
62}
63
64QRectF DatastoreCurveAdapter::boundingRect() const {
65 if (full_bounding_rect_valid_) {

Callers

nothing calls this directly

Calls 2

invalidPointFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected