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

use new fcts ff::Prism::radius and volume

parent 1bb04b19
No related branches found
No related tags found
1 merge request!1153Adapt to libformfactor!32
......@@ -51,13 +51,13 @@ double IFormFactorPrism::topZ(const IRotation* rotation) const
double IFormFactorPrism::volume() const
{
ASSERT(m_validated);
return height() * pimpl->area();
return pimpl->volume();
}
double IFormFactorPrism::radialExtension() const
{
ASSERT(m_validated);
return std::sqrt(pimpl->area());
return pimpl->radius();
}
//! Returns the form factor F(q) of this polyhedron, respecting the offset height/2.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment