Function Cursor.IntegrateSmoothingKernel

IntegrateSmoothingKernel (float a, float b, float smoothingDistance)

Integrates exp(-|x|/smoothingDistance)/(2*smoothingDistance) from a to b.

Public Static
float IntegrateSmoothingKernel (

float

a

float

b

float

smoothingDistance

)

Integrates exp(-|x|/smoothingDistance)/(2*smoothingDistance) from a to b.

The integral from -inf to +inf is 1.