Skip to content

Commit fa9f706

Browse files
committed
[algorithm] Absorb the FindClosestProximity for shaft collision
1 parent ec35524 commit fa9f706

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/CollisionAlgorithm/algorithm/InsertionAlgorithm.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,16 @@ class InsertionAlgorithm : public BaseAlgorithm
205205
if (!shaftProx) continue;
206206
shaftProx->normalize();
207207
}
208+
// Experimental
209+
//else
210+
//{
211+
// auto findClosestProxOnShaft =
212+
// Operations::FindClosestProximity::Operation::get(l_shaftGeom);
213+
// shaftProx = findClosestProxOnShaft(surfProx, l_shaftGeom,
214+
// projectOnShaft, getFilterFunc());
215+
// if (!shaftProx) continue;
216+
// shaftProx->normalize();
217+
//}
208218
collisionOutput.add(shaftProx, surfProx);
209219
}
210220
}

0 commit comments

Comments
 (0)