za.co.luma.math.sampling
Interface Sampler<T>

Type Parameters:
T - The type of items in the collection to sample. In an image these are points, usually represented by Vectro2DDouble or Vector2DInt.
All Known Implementing Classes:
PoissonDiskSampler, UniformPoissonDiskSampler, UniformRandomSampler

public interface Sampler<T>

Used to sample a collection (or image).

Author:
Herman Tulleken

Method Summary
 java.util.List<T> sample()
          This method samples the structure, and returns a list of results.
 

Method Detail

sample

java.util.List<T> sample()
This method samples the structure, and returns a list of results. The sampling is done in one step. Care must be taken when the sample size is large.

Returns: