Skip to content

Commit 1222f7e

Browse files
committed
Put method description into header file
1 parent 25d0db3 commit 1222f7e

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/CollisionAlgorithm/operations/NeedleOperations.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
namespace sofa::collisionalgorithm::Operations::Needle
44
{
55

6-
// Returns true when at least one coupling point was popped from the back,
7-
// false when the set was left unchanged (including the null-edge error path
8-
// and the non-retracting early-exit).
96
bool prunePointsUsingEdges(std::vector<BaseProximity::SPtr>& couplingPts,
107
const EdgeElement::SPtr& edge)
118
{
@@ -38,6 +35,6 @@ bool prunePointsUsingEdges(std::vector<BaseProximity::SPtr>& couplingPts,
3835
return (couplingPts.size() < initSize);
3936
}
4037

41-
int register_PrunePointsAheadOfTip_Edge =
42-
PrunePointsAheadOfTip::register_func<EdgeElement>(&prunePointsUsingEdges);
38+
int register_PrunePointsAheadOfTip_Edge = PrunePointsAheadOfTip::register_func<EdgeElement>(&prunePointsUsingEdges);
39+
4340
} // namespace sofa::collisionalgorithm::Operations::Needle

src/CollisionAlgorithm/operations/NeedleOperations.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ class SOFA_COLLISIONALGORITHM_API PrunePointsAheadOfTip
2929
}
3030
};
3131

32+
/**
33+
* Returns true when at least one coupling point was popped from the back,
34+
* false when the set was left unchanged (including the null-edge error path
35+
* and the non-retracting early-exit).
36+
*/
3237
bool prunePointsUsingEdges(std::vector<BaseProximity::SPtr>& couplingPts,
3338
const EdgeElement::SPtr& edgeProx);
3439

0 commit comments

Comments
 (0)