MCPcopy Create free account
hub / github.com/comaps/comaps / SelectImplementation

Function SelectImplementation

libs/geometry/algorithm.hpp:95–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93
94template <typename TCalculator, typename TIterator>
95auto SelectImplementation(TIterator begin, TIterator end, TCalculator && calc, std::true_type const &)
96 -> decltype(calc.GetResult())
97{
98 return impl::ApplyPointOnSurfaceCalculator(begin, end, std::forward<TCalculator>(calc));
99}
100
101template <typename TCalculator, typename TIterator>
102auto SelectImplementation(TIterator begin, TIterator end, TCalculator && calc, std::false_type const &)

Callers 1

ApplyCalculatorFunction · 0.85

Calls 3

ApplyCalculatorFunction · 0.85
GetResultMethod · 0.45

Tested by

no test coverage detected