File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
src/sofa/collisionAlgorithm/operations Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ #include < sofa/collisionAlgorithm/operations/NeedleOperations.h>
2+
3+ namespace sofa ::collisionAlgorithm::Operations::Needle {
4+
5+ // int register_Project_Edge = Operation::register_func<EdgeProximity>(&toolbox::EdgeToolBox::project);
6+
7+ }
8+
Original file line number Diff line number Diff line change 1+ #pragma once
2+
3+ #include < sofa/collisionAlgorithm/BaseOperation.h>
4+ #include < sofa/collisionAlgorithm/BaseProximity.h>
5+
6+ namespace sofa ::collisionAlgorithm::Operations::Needle
7+ {
8+
9+ class PrunePointsAheadOfTip
10+ : public GenericOperation<PrunePointsAheadOfTip, // Type of the operation
11+ bool , // Default return type
12+ std::vector<BaseProximity::SPtr>&,
13+ const BaseProximity::SPtr& // Parameters
14+ >
15+ {
16+ public:
17+ bool defaultFunc (std::vector<BaseProximity::SPtr>&, const BaseProximity::SPtr&) const override
18+ {
19+ return false ;
20+ }
21+
22+ void notFound (const std::type_info& id) const override
23+ {
24+ msg_error (" Needle::PrunePointsAheadOfTip" )
25+ << " The operation PrunePointsAheadOfTipOperation is not registered with for type = "
26+ << sofa::helper::NameDecoder::decodeFullName (id);
27+ }
28+ };
29+
30+ } // namespace sofa::collisionAlgorithm::Operations::Needle
You can’t perform that action at this time.
0 commit comments