20 namespace Experimental {
36 return {surface.
center(gctx)};
46 template <BinningValue bVAL = BinningValue::binValues>
70 template <
size_t nSEGS = 1u,
bool aBARY = true>
81 std::vector<Vector3> rPositions;
83 rPositions.insert(rPositions.end(), pHedron.vertices.begin(),
84 pHedron.vertices.end());
86 if constexpr (aBARY) {
88 std::for_each(rPositions.begin(), rPositions.end(),
89 [&](
const auto&
p) { bc +=
p; });
90 bc *= 1. / rPositions.size();
91 rPositions.push_back(bc);