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

Method mapCartesianToPolarInDegree

tests/backend/Datapicker/DatapickerTest.cpp:433–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433void DatapickerTest::mapCartesianToPolarInDegree() {
434 DatapickerImage::ReferencePoints points;
435 points.type = DatapickerImage::GraphType::PolarInDegree;
436 QPointF point{5, 30};
437
438 Transform t;
439 VECTOR3D_EQUAL(t.mapCartesianToType(point, points), QVector3D(30.413812651491f, 80.537677791974f, 0));
440}
441
442void DatapickerTest::mapCartesianToPolarInRadians() {
443 DatapickerImage::ReferencePoints points;

Callers

nothing calls this directly

Calls 2

QVector3DClass · 0.85
mapCartesianToTypeMethod · 0.80

Tested by

no test coverage detected