/// <inheritdoc/> public float GetValue(float x) { if (x < 0F) { x = -x; } if (x < 2F) { return(ImageMaths.SinC(x) * ImageMaths.SinC(x / 2F)); } return(0F); }
/// <inheritdoc/> public float GetValue(float x) { if (x < 0F) { x = -x; } if (x < 3F) { return(ImageMaths.SinC(x) * (1F - (x * x / 9.0F))); } return(0F); }