|
ESyS-Particle
2.3.4
|
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 &) |
Static Private Attributes | |
| static double | NearZero =1e-8 |
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 |
References Vec3::X(), Vec3::Y(), and Vec3::Z().
Referenced by esys::lsm::ThreeDSphereFitter< TmplFitTraits >::findAFit(), esys::lsm::ThreeDSphereSphereFitter< TmplFitTraits >::findAFit(), esys::lsm::ThreeDParticleFitter::findAFit(), esys::lsm::SphereBlockGenerator::findAFit(), ARandomAssembly3D::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 |
References Vec3::norm(), Vec3::X(), Vec3::Y(), and Vec3::Z().
Referenced by esys::lsm::ThreeDPlaneSphereFitter< TmplFitTraits >::findAFit(), esys::lsm::ThreeDPlaneParticleFitter::findAFit(), and ARandomAssembly3D::findAFit().


|
staticprivate |