MCPcopy Create free account
hub / github.com/KDE/labplot / mapCartesianToLinear

Method mapCartesianToLinear

tests/backend/Datapicker/DatapickerTest.cpp:370–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368// Reference calculations done with https://keisan.casio.com/exec/system/1223526375
369
370void DatapickerTest::mapCartesianToLinear() {
371 DatapickerImage::ReferencePoints points;
372 points.type = DatapickerImage::GraphType::Linear;
373 QPointF point{5, 2343.23};
374
375 Transform t;
376 VECTOR3D_EQUAL(t.mapCartesianToType(point, points), QVector3D(5, 2343.23f, 0));
377}
378
379void DatapickerTest::mapCartesianToLnX() {
380 DatapickerImage::ReferencePoints points;

Callers

nothing calls this directly

Calls 2

QVector3DClass · 0.85
mapCartesianToTypeMethod · 0.80

Tested by

no test coverage detected