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

Method mapCartesianToLnX

tests/backend/Datapicker/DatapickerTest.cpp:379–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void DatapickerTest::mapCartesianToLnX() {
380 DatapickerImage::ReferencePoints points;
381 points.type = DatapickerImage::GraphType::LnX;
382 QPointF point{5, 2343.23};
383
384 Transform t;
385 VECTOR3D_EQUAL(t.mapCartesianToType(point, points), QVector3D(exp(5), 2343.23f, 0));
386}
387
388void DatapickerTest::mapCartesianToLnY() {
389 DatapickerImage::ReferencePoints points;

Callers

nothing calls this directly

Calls 2

QVector3DClass · 0.85
mapCartesianToTypeMethod · 0.80

Tested by

no test coverage detected