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

Method mapCartesianToPolarInRadians

tests/backend/Datapicker/DatapickerTest.cpp:442–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442void DatapickerTest::mapCartesianToPolarInRadians() {
443 DatapickerImage::ReferencePoints points;
444 points.type = DatapickerImage::GraphType::PolarInRadians;
445 QPointF point{5, 30};
446
447 Transform t;
448 VECTOR3D_EQUAL(t.mapCartesianToType(point, points), QVector3D(30.413812651491f, 1.4056476493803f, 0)); // first is radius, second theta
449}
450
451// TODO: implement Ternary
452

Callers

nothing calls this directly

Calls 2

QVector3DClass · 0.85
mapCartesianToTypeMethod · 0.80

Tested by

no test coverage detected