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

Method mapCartesianToLog10Y

tests/backend/Datapicker/DatapickerTest.cpp:415–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415void DatapickerTest::mapCartesianToLog10Y() {
416 DatapickerImage::ReferencePoints points;
417 points.type = DatapickerImage::GraphType::Log10Y;
418 QPointF point{5, 2.23};
419
420 Transform t;
421 VECTOR3D_EQUAL(t.mapCartesianToType(point, points), QVector3D(5, pow(10, 2.23), 0));
422}
423
424void DatapickerTest::mapCartesianToLog10XY() {
425 DatapickerImage::ReferencePoints points;

Callers

nothing calls this directly

Calls 2

QVector3DClass · 0.85
mapCartesianToTypeMethod · 0.80

Tested by

no test coverage detected