We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7c3c30 commit 45333f4Copy full SHA for 45333f4
Framework/Algorithms/src/SampleCorrections/IBeamProfile.cpp
@@ -85,6 +85,8 @@ Geometry::IObject_sptr IBeamProfile::getIntersectionWithSample(const Geometry::I
85
return nullptr;
86
}
87
88
+ // If the intersection volume is the same as the sample volume use the sample volume instead of creating a new shape
89
+ // V3D operator== comparison is done with a 1.0e-6 tolerance
90
if ((sampleBB.minPoint() == intersectionBox.minPoint()) && (sampleBB.maxPoint() == intersectionBox.maxPoint())) {
91
return std::shared_ptr<Geometry::IObject>(sample.clone());
92
0 commit comments