114 float *p_profile_avg =
nullptr);
Definition algebra.hpp:23
std::function< float(float)> get_erosion_profile_function(const ErosionProfile &erosion_profile, float delta, float &profile_avg)
Generates a function representing an erosion profile based on the specified type and parameters.
Definition erosion_profile_function.cpp:33
ErosionProfile
Procedural erosion angular profile type.
Definition profiles.hpp:20
@ EP_COSINE
Definition profiles.hpp:21
@ EP_PARABOL
Definition profiles.hpp:24
@ EP_TRIANGLE_SMOOTH
Definition profiles.hpp:31
@ EP_TRIANGLE_GRENIER
Definition profiles.hpp:29
@ EP_COSINE_BULK
Definition profiles.hpp:22
@ EP_SHARP_VALLEYS
Definition profiles.hpp:27
@ EP_SAW_SMOOTH
Definition profiles.hpp:26
@ EP_SAW_SHARP
Definition profiles.hpp:25
@ EP_COSINE_PEAK
Definition profiles.hpp:23
@ EP_TRIANGLE_SHARP
Definition profiles.hpp:30
@ EP_SQRT
Definition profiles.hpp:28
RadialProfile
Radial profile type.
Definition profiles.hpp:51
@ RP_FLAT_BOTTOM
Definition profiles.hpp:57
@ RP_POW
Definition profiles.hpp:54
@ RP_LINEAR
Definition profiles.hpp:53
@ RP_GAIN
Definition profiles.hpp:52
@ RP_SMOOTHSTEP_UPPER
Definition profiles.hpp:56
@ RP_SMOOTHSTEP
Definition profiles.hpp:55
@ RP_SQRT
Definition profiles.hpp:58
std::function< float(float)> get_phasor_profile_function(PhasorProfile phasor_profile, float delta, float *p_profile_avg=nullptr)
Generates a function representing a phasor profile based on the specified type and parameters.
Definition phasor_profile_function.cpp:16
std::function< float(float)> get_radial_profile_function(RadialProfile radial_profile, float delta)
Returns a normalized radial profile function.
Definition radial_profile_function.cpp:14
PhasorProfile
Phasor angular profile type.
Definition profiles.hpp:38
@ PP_COSINE_PEAKY
Definition profiles.hpp:40
@ PP_COSINE_BULKY
Definition profiles.hpp:39
@ PP_DUNE
Definition profiles.hpp:44
@ PP_TRIANGLE
Definition profiles.hpp:43
@ PP_COSINE_SQUARE
Definition profiles.hpp:41
@ PP_COSINE_STD
Definition profiles.hpp:42