Add some comments

This commit is contained in:
Mael Rouxel-Labbé 2023-11-30 11:38:18 +01:00
parent 6ad37cd2e6
commit fae9bcd5f1
1 changed files with 5 additions and 0 deletions

View File

@ -94,6 +94,7 @@ struct Wrapping_default_visitor
template <typename AlphaWrapper> template <typename AlphaWrapper>
void on_flood_fill_begin(const AlphaWrapper&) { } void on_flood_fill_begin(const AlphaWrapper&) { }
// Whether the flood filling process should continue
template <typename Wrapper> template <typename Wrapper>
constexpr bool go_further(const Wrapper&) { return true; } constexpr bool go_further(const Wrapper&) { return true; }
@ -277,6 +278,10 @@ public:
// Whether or not some cells should be reflagged as "inside" after the refinement+carving loop // Whether or not some cells should be reflagged as "inside" after the refinement+carving loop
// as ended, as to ensure that the result is not only combinatorially manifold, but also // as ended, as to ensure that the result is not only combinatorially manifold, but also
// geometrically manifold. // geometrically manifold.
//
// -- Warning --
// Manifoldness postprocessing will be performed even if the wrapping is interrupted (and
// this option is enabled).
const bool do_enforce_manifoldness = choose_parameter(get_parameter(in_np, internal_np::do_enforce_manifoldness), true); const bool do_enforce_manifoldness = choose_parameter(get_parameter(in_np, internal_np::do_enforce_manifoldness), true);
// Whether to keep pockets of "outside" cells that are not connected to the exterior (or to the // Whether to keep pockets of "outside" cells that are not connected to the exterior (or to the