# Maths.PseudoRandom.PoissonSetup class

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class Maths.PseudoRandom.PoissonSetup
```

Describes the initial setup for a two-dimensional Poisson sampling.

## Constructors

- [Maths.PseudoRandom.PoissonSetup](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/ctor.md): Create a new poisson distribution setup.

## Properties

- [MaximumPointCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/maximumpointcount.md): Gets or sets the maximum allowed points.
- [Radius](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/radius.md): Gets the minimum allowed distance between adjacent loci in the distribution.
- [SamplesPerPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/samplesperpoint.md): 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.
- [SamplingScaleFactor](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/samplingscalefactor.md): 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.
- [Seeds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/seeds.md): Enumerate over all seeds. If no seed points have been set, this property will return the middle point of the region.
- [Token](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/token.md): Gets or sets a cancellation token to be used.
- [X0](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/x0.md): Gets the lowest x reach of the poisson region.
- [X1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/x1.md): Gets the highest x reach of the poisson region.
- [Y0](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/y0.md): Gets the lowest y reach of the poisson region.
- [Y1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/y1.md): Gets the highest y reach of the poisson region.

## Methods

- [AddSeed](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.pseudorandom.poissonsetup/addseed.md): Add a seed point to the distribution.
