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

Method mapCartesianToLnXY

tests/backend/Datapicker/DatapickerTest.cpp:397–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397void DatapickerTest::mapCartesianToLnXY() {
398 DatapickerImage::ReferencePoints points;
399 points.type = DatapickerImage::GraphType::LnXY;
400 QPointF point{5, 2.23};
401
402 Transform t;
403 VECTOR3D_EQUAL(t.mapCartesianToType(point, points), QVector3D(exp(5), exp(2.23), 0));
404}
405
406void DatapickerTest::mapCartesianToLog10X() {
407 DatapickerImage::ReferencePoints points;

Callers

nothing calls this directly

Calls 2

QVector3DClass · 0.85
mapCartesianToTypeMethod · 0.80

Tested by

no test coverage detected