14#include <range/v3/algorithm/transform.hpp>
21 std::string
const& property_name,
26 WARN(
"Did not find PropertyVector '{:s}' for scaling.", property_name);
30 ranges::transform(pv, pv.begin(),
31 [factor](
auto const& v) { return v * factor; });
void WARN(fmt::format_string< Args... > fmt, Args &&... args)
Definition of the Mesh class.
Properties & getProperties()
bool existsPropertyVector(std::string_view name) const
PropertyVector< T > const * getPropertyVector(std::string_view name) const
void scaleMeshPropertyVector(MeshLib::Mesh &mesh, std::string const &property_name, double factor)