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

Method mapCartesianToLog10XY

tests/backend/Datapicker/DatapickerTest.cpp:424–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void DatapickerTest::mapCartesianToLog10XY() {
425 DatapickerImage::ReferencePoints points;
426 points.type = DatapickerImage::GraphType::Log10XY;
427 QPointF point{5, 2.23};
428
429 Transform t;
430 VECTOR3D_EQUAL(t.mapCartesianToType(point, points), QVector3D(pow(10, 5), pow(10, 2.23), 0));
431}
432
433void DatapickerTest::mapCartesianToPolarInDegree() {
434 DatapickerImage::ReferencePoints points;

Callers

nothing calls this directly

Calls 2

QVector3DClass · 0.85
mapCartesianToTypeMethod · 0.80

Tested by

no test coverage detected