LibCapy - poissonSampling

Poisson disk sampling class.

Macros:

Enumerations:

None.

Typedefs:

None.

Struct CapyPoissonSampling :

Struct CapyPoissonSampling's properties:

Inherits CapySampling

Minimum distance between samples (default: 1.0)

Threshold before rejection (default: 30)

Struct CapyPoissonSampling's methods:

Destructor

Functions:

Create a CapyPoissonSampling

Input argument(s):

seed: seed for the random number generator
dim: dimension of the samples

Output and side effect(s):

Return a CapyPoissonSampling

Allocate memory for a new CapyPoissonSampling and create it

Input argument(s):

seed: seed for the random number generator
dim: dimension of the samples

Output and side effect(s):

Return a CapyPoissonSampling

Exception(s):

May raise CapyExc_MallocFailed.

Free the memory used by a CapyPoissonSampling* and reset '*that' to NULL

Input argument(s):

that: a pointer to the CapyPoissonSampling to free

2023-08-04
in LibCapy,
10 views
Copyright 2021-2024 Baillehache Pascal