|
HighMap library (C++)
|
GaussianPulse (x, y) function class. More...
#include <functions.hpp>
Public Member Functions | |
| float | operator() (float x, float y, float ctrl_param=0.f) const |
| GaussianPulseFunction (float sigma, glm::vec2 center) | |
| Construct a new GaussianPulse Function object. | |
| void | set_sigma (float new_sigma) |
| Set the half-width. | |
Protected Attributes | |
| float | sigma |
| Pulse half-width. | |
| glm::vec2 | center |
| Primitive reference center. | |
GaussianPulse (x, y) function class.
This class models a gaussian pulse function. It extends the base Function class.
| hmap::GaussianPulseFunction::GaussianPulseFunction | ( | float | sigma, |
| glm::vec2 | center ) |
Construct a new GaussianPulse Function object.
| sigma | Pulse half-width (with respect to a unit domain). |
| center | Primitive reference center. |
| float hmap::GaussianPulseFunction::operator() | ( | float | x, |
| float | y, | ||
| float | ctrl_param = 0.f ) const |
|
inline |
Set the half-width.
| new_sigma | New half-width. |
|
protected |
Pulse half-width.
|
protected |
Primitive reference center.