Skip to content

Commit 0b63b47

Browse files
committed
use collision sampling for collision creation in IRC
1 parent 5476e0a commit 0b63b47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BeamAdapter/component/controller/InterventionalRadiologyController.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ void InterventionalRadiologyController<DataTypes>::interventionalRadiologyCollis
672672

673673
// 3. we look for the mechanical sampling of the current instrument in order to "place" the following point
674674
Real xIncr;
675-
m_instrumentsList[firstInstruOnx]->getMechanicalSampling(xIncr, xPointList[i]);
675+
m_instrumentsList[firstInstruOnx]->getCollisionSampling(xIncr, xPointList[i]);
676676
xAbsCurv -= xIncr;
677677

678678
// the following point could not have x_abs_curv<0;

0 commit comments

Comments
 (0)