ESyS-Particle
4.0.1
|
Just methods to calculate the position and dimension of a 2D sphere under given constraints (see the .cpp file). More...
#include <Sphere3d.h>
Static Public Member Functions | |
static bool | FillIn (const Vec3 &, const Vec3 &, const Vec3 &, const Vec3 &, double, double, double, double, Vec3 &, double &) |
static bool | FillInWP (const Vec3 &, const Vec3 &, const Vec3 &, const Vec3 &, const Vec3 &, double, double, double, Vec3 &, double &) |
Just methods to calculate the position and dimension of a 2D sphere under given constraints (see the .cpp file).
|
static |
find the sphere that touches 4 spheres
P1 | position of 1st Sphere |
P2 | position of 2nd Sphere |
P3 | position of 3rd Sphere |
P4 | position of 4th Sphere |
r1 | radius of 1st Sphere |
r2 | radius of 2st Sphere |
r3 | radius of 3st Sphere |
r4 | radius of 4st Sphere |
M | return position of found sphere |
r | return radius of found sphere |
Referenced by ARandomAssembly3D::findAFit(), esys::lsm::SphereBlockGenerator::findAFit(), and esys::lsm::SphereBlockGenerator::findAFitWithSphere().
|
static |
find the sphere that touch 3 spheres and one wall
P1 | position of 1st Sphere |
P2 | position of 2nd Sphere |
P3 | position of 3rd Sphere |
O | origin of the plane |
iD | normal of the plane |
r1 | radius of 1st Sphere |
r2 | radius of 2st Sphere |
r3 | radius of 3st Sphere |
M | return position of found sphere |
r | return radius of found sphere |
Referenced by ARandomAssembly3D::findAFit().