Contains classes for generating sampling patterns.
-
BestCandidateSampling.Sphere.generate(float[] xyzs)
Generate 'best candidate' sample positions and store the coordinates of all generated samples into the given xyzs
float array.
Generate 'best candidate' sample positions and store the coordinates of all generated samples into the given xyzs
FloatBuffer.
Generate 'best candidate' sample call the given callback
for each generated sample.
Set the number of candidates to try for each generated sample.
BestCandidateSampling.Sphere.numSamples(int numSamples)
Set the number of samples to generate.
BestCandidateSampling.Sphere.onHemisphere(boolean onHemisphere)
Set whether to generate samples on a hemisphere around the +Z
axis.
BestCandidateSampling.Sphere.seed(long seed)
Set the seed to initialize the pseudo-random number generator with.