ESyS-Particle
4.0.1
|
Classes | |
class | StufferTraits |
Public Types | |
typedef TmplCubicBoxPackerWrap < TmplParticleGenerator > ::CubicBoxPackerBase | Inherited |
typedef Inherited::ParticleGenerator | ParticleGenerator |
typedef Inherited::ParticleGeneratorPtr | ParticleGeneratorPtr |
typedef Inherited::Particle | Particle |
typedef Inherited::NTable | NTable |
typedef Inherited::NTablePtr | NTablePtr |
typedef NTable::ParticleVector | ParticleVector |
typedef Inherited::ParticlePool | ParticlePool |
typedef Inherited::ParticlePoolPtr | ParticlePoolPtr |
typedef SphereFittedPIterator < StufferTraits > | StuffedParticleIterator |
Public Member Functions | |
RandomSpherePacker (ParticleGeneratorPtr particleGeneratorPtr, ParticlePoolPtr particlePoolPtr, NTablePtr nTablePtr, const BoundingSphere &bSphere, double tolerance, double cubicPackRadius, int maxInsertionFailures, bool do2d) | |
const BoundingSphere & | getBSphere () const |
bool | particleIsValid (const Particle &particle) const |
double | getRandom (double min, double max) const |
Vec3 | getRandomPoint () const |
ParticleVector | getClosestNeighbours (const Particle &particle, int numClosest) |
int | getMaxInsertionFailures () const |
bool | particleFitsInBSphere (const Particle &particle) const |
bool | particleFitsInBSphereWithNeighbours (const Particle &particle) const |
void | generateCubicPackingInSphere () |
void | generateRandomFill () |
virtual void | generate () |