|
| | Dla (const double &) |
| | Initialize the DLA structure.
|
| |
| | Dla (const QVector< Vector > &, const double &) |
| | Initialize the structure with a given set of seeds.
|
| |
|
| ~Dla () |
| | Empty.
|
| |
| void | Add (int=1) |
| | Add one particle to the cluster.
|
| |
|
bool | Try () |
| | Seed a random particle away from the cluster, randomly moves and checks collision with the cluster.
|
| |
|
double | Radius () const |
| | Return the radius of the particles.
|
| |
|
QVector< Vector > | GetCenters () const |
| | Return the centers of the spheres.
|
| |
Public Member Functions inherited from ParticleSet |
|
| ParticleSet () |
| | Empty constructor.
|
| |
| | ParticleSet (const double &) |
| | Create an empty set of particles.
|
| |
| | ParticleSet (const Vector &, const double &) |
| | Create a set of particles.
|
| |
| | ParticleSet (const QVector< Vector > &, const double &) |
| | Create a set of particles.
|
| |
|
int | Size () const |
| | Return the number of particles.
|
| |
| Sphere | At (int) const |
| | Get the k-th particle.
|
| |
|
double | Radius () const |
| | Return the radius of the particles.
|
| |
|
QVector< Vector > | GetCenters () const |
| | Return the centers of the particles.
|
| |
| Sphere | GetSphere () const |
| | Computes the bounding circle of the centers of the particles.
|
| |
| Box | GetBox () const |
| | Computes the bounding box of the centers of the particles.
|
| |
| void | Append (const Vector &) |
| | Add a new particle to the set.
|
| |
| bool | Intersect (const Sphere &) const |
| | Check the intersection between the cluster and a circle.
|
| |
| bool | Intersect (const Box &) const |
| | Check the intersection between the cluster and a box.
|
| |
A base diffusion limited aggregation class.