Maths.PseudoRandom.PoissonSetup

References
public sealed class Maths.PseudoRandom.PoissonSetup
Describes the initial setup for a two-dimensional Poisson sampling.

Constructors

PoissonSetup

#
Create a new poisson distribution setup.
public PoissonSetup(
min,
First corner of poisson region.
max,
Second corner of poisson region.
radius
Minimum radius between samples.
)

Properties

MaximumPointCount

#
Gets or sets the maximum allowed points.
public int MaximumPointCount { get; set; }

Radius

#
Gets the minimum allowed distance between adjacent loci in the distribution.
public double Radius { get; }

SamplesPerPoint

#
Gets or sets the number of sampling attempts to use per active site. Higher values will result in better outcomes but take a longer time to compute. We recommend 30 samples per site per iteration.
public int SamplesPerPoint { get; set; }

SamplingScaleFactor

#
Gets or sets the sampling radius scaling factor. This factor controls by how much farther than the radius new samples will be inserted into the distribution from active sites. Scaling factors can be between one and two, where smaller factors will yield a tighter pattern, but also require more samples-per-point to fully complete.
public double SamplingScaleFactor { get; set; }

Seeds

#
Enumerate over all seeds. If no seed points have been set, this property will return the middle point of the region.
public IEnumerable<Point2d> Seeds { get; }

Token

#
Gets or sets a cancellation token to be used.
public CancellationToken Token { get; set; }

X0

#
Gets the lowest x reach of the poisson region.
public double X0 { get; }

X1

#
Gets the highest x reach of the poisson region.
public double X1 { get; }

Y0

#
Gets the lowest y reach of the poisson region.
public double Y0 { get; }

Y1

#
Gets the highest y reach of the poisson region.
public double Y1 { get; }

Methods

AddSeed

#
Add a seed point to the distribution.
public void AddSeed(
point
)