ESyS-Particle  4.0.1
Static Public Member Functions
Sphere3D Class Reference

Just methods to calculate the position and dimension of a 2D sphere under given constraints (see the .cpp file). More...

#include <Sphere3d.h>

List of all members.

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 &)

Detailed Description

Just methods to calculate the position and dimension of a 2D sphere under given constraints (see the .cpp file).

Author:
David Place, Steffen Abe $Revision$ $Date$

Member Function Documentation

bool Sphere3D::FillIn ( const Vec3 P1,
const Vec3 P2,
const Vec3 P3,
const Vec3 P4,
double  r1,
double  r2,
double  r3,
double  r4,
Vec3 M,
double &  r 
) [static]

find the sphere that touches 4 spheres

Parameters:
P1position of 1st Sphere
P2position of 2nd Sphere
P3position of 3rd Sphere
P4position of 4th Sphere
r1radius of 1st Sphere
r2radius of 2st Sphere
r3radius of 3st Sphere
r4radius of 4st Sphere
Mreturn position of found sphere
rreturn radius of found sphere

Referenced by ARandomAssembly3D::findAFit(), esys::lsm::SphereBlockGenerator::findAFit(), and esys::lsm::SphereBlockGenerator::findAFitWithSphere().

Here is the caller graph for this function:

bool Sphere3D::FillInWP ( const Vec3 iP1,
const Vec3 iP2,
const Vec3 iP3,
const Vec3 O,
const Vec3 iD,
double  r1,
double  r2,
double  r3,
Vec3 M,
double &  r 
) [static]

find the sphere that touch 3 spheres and one wall

Parameters:
P1position of 1st Sphere
P2position of 2nd Sphere
P3position of 3rd Sphere
Oorigin of the plane
iDnormal of the plane
r1radius of 1st Sphere
r2radius of 2st Sphere
r3radius of 3st Sphere
Mreturn position of found sphere
rreturn radius of found sphere

Referenced by ARandomAssembly3D::findAFit().

Here is the caller graph for this function:


The documentation for this class was generated from the following files: