#include <pDomain.h>
List of all members.
Public Member Functions |
|
| PDBlob (const pVec &Center, const float StandardDev) | |
| bool | Within (const pVec &pos) const |
| Has a probability of returning true equal to the probability density at the specified point. |
|
| pVec | Generate () const |
| Returns a point with normal probability density. |
|
| float | Size () const |
| Returns the probability density integral, which is 1.0. |
|
| pDomain * | copy () const |
Public Attributes |
|
| pVec | ctr |
| float | stdev |
| float | Scale1 |
| float | Scale2 |
The point Center is the center of a normal probability density of standard deviation StandardDev. The density is radially symmetrical. The blob domain allows for some very natural-looking effects because there is no sharp, artificial-looking boundary at the edge of the domain.
Generate returns a point with normal probability density. Within has a probability of returning true equal to the probability density at the specified point.
1.5.8