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

Method mapCartesianToLog10X

tests/backend/Datapicker/DatapickerTest.cpp:406–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406void DatapickerTest::mapCartesianToLog10X() {
407 DatapickerImage::ReferencePoints points;
408 points.type = DatapickerImage::GraphType::Log10X;
409 QPointF point{5, 2343.23};
410
411 Transform t;
412 VECTOR3D_EQUAL(t.mapCartesianToType(point, points), QVector3D(pow(10, 5), 2343.23f, 0));
413}
414
415void DatapickerTest::mapCartesianToLog10Y() {
416 DatapickerImage::ReferencePoints points;

Callers

nothing calls this directly

Calls 2

QVector3DClass · 0.85
mapCartesianToTypeMethod · 0.80

Tested by

no test coverage detected