virtual PrimitiveType primitive_type() const override
virtual std::vector< simplex::Simplex > execute(const simplex::Simplex &simplex) override
returns an empty vector in case of failure
virtual std::vector< simplex::Simplex > unmodified_primitives(const simplex::Simplex &simplex) const override
Returns all simplices that will be potentially affected by the operation.
AttributesUpdate(Mesh &m)
std::vector< simplex::Simplex > execute(const simplex::Simplex &simplex) override
returns an empty vector in case of failure
AttributesUpdateWithFunction(Mesh &m)
void set_function(const UpdateFunction &func)
UpdateFunction m_function
std::function< bool(Mesh &, const simplex::Simplex &s)> UpdateFunction