Skip to content
Snippets Groups Projects
Commit 5d7bd2f4 authored by Ayomide Bamidele's avatar Ayomide Bamidele
Browse files

Removed temporay placeholder in inHollowCylinder. Refs: #25595

parent b4a54c16
No related branches found
No related tags found
No related merge requests found
......@@ -105,9 +105,8 @@ Kernel::V3D inHollowCylinder(const detail::ShapeInfo &shapeInfo,
const double c2 = geometry.radius * geometry.radius;
const double r{std::sqrt(c1 + (c2 - c1) * r2)};
const double z{geometry.height * r3};
const Kernel::V3D basis1{geometry.axis};
const Kernel::V3D alongAxis{geometry.axis * z};
auto localPoint = localPointInCylinder(basis1, alongAxis, polar, r);
auto localPoint = localPointInCylinder(geometry.axis, alongAxis, polar, r);
return localPoint + geometry.centreOfBottomBase;
}
......
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