Struct poisson::Generator
[−]
[src]
pub struct Generator<F, V, R, A> where
F: Float,
V: Vector<F>,
R: Rng,
A: Creator<F, V>, { /* fields omitted */ }
Generates poisson-disk distribution in [0, 1]d area.
Methods
impl<F, V, R, A> Generator<F, V, R, A> where
F: Float,
V: Vector<F>,
R: Rng,
A: Creator<F, V>,
[src]
F: Float,
V: Vector<F>,
R: Rng,
A: Creator<F, V>,
fn set_radius(&mut self, radius: F)
[src]
Sets the radius of the generator.
fn radius(&self) -> F
[src]
Returns the radius of the generator.
fn poisson_type(&self) -> Type
[src]
Returns the type of the generator.
impl<F, V, R, A> Generator<F, V, R, A> where
F: Float,
V: Vector<F>,
R: Rng + Clone,
A: Creator<F, V>,
[src]
F: Float,
V: Vector<F>,
R: Rng + Clone,
A: Creator<F, V>,
Trait Implementations
impl<F: Clone, V: Clone, R: Clone, A: Clone> Clone for Generator<F, V, R, A> where
F: Float,
V: Vector<F>,
R: Rng,
A: Creator<F, V>,
[src]
F: Float,
V: Vector<F>,
R: Rng,
A: Creator<F, V>,
fn clone(&self) -> Generator<F, V, R, A>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<F: Debug, V: Debug, R: Debug, A: Debug> Debug for Generator<F, V, R, A> where
F: Float,
V: Vector<F>,
R: Rng,
A: Creator<F, V>,
[src]
F: Float,
V: Vector<F>,
R: Rng,
A: Creator<F, V>,
impl<F, V, R, A> IntoIterator for Generator<F, V, R, A> where
F: Float,
V: Vector<F>,
R: Rng,
A: Creator<F, V>,
[src]
F: Float,
V: Vector<F>,
R: Rng,
A: Creator<F, V>,