Skip to content
Snippets Groups Projects
Commit cc6b0eaa authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm unused RectangularPixel::createAxis

parent 68e63d1d
No related branches found
No related tags found
1 merge request!2006restore coverage tool, and remove some unused code
......@@ -75,13 +75,3 @@ double RectangularPixel::calculateSolidAngle() const
double length = position.mag();
return std::abs(position.dot(m_normal)) / std::pow(length, 3);
}
Scale* RectangularPixel::createAxis(size_t n) const
{
const auto k00 = getPosition(0.0, 0.0);
const auto k01 = getPosition(0.0, 1.0);
const double alpha_f_min = (pi / 2) - R3Util::theta(k00);
const double alpha_f_max = (pi / 2) - R3Util::theta(k01);
return newEquiDivision("alpha_f (rad)", alpha_f_min, alpha_f_max, n);
}
......@@ -35,8 +35,6 @@ public:
double integrationFactor(double x, double y) const override;
double solidAngle() const override;
Scale* createAxis(size_t n) const;
private:
R3 normalizeLength(R3 direction, double length) const;
double calculateSolidAngle() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment