GenGeo  1.1
MNTCell3D Class Reference

class for a cell in a 3D neighbor table (MNTable3D) More...

#include <MNTCell3D.h>

Collaboration diagram for MNTCell3D:

Public Member Functions

 MNTCell3D (unsigned int ngroups=1)
void SetNGroups (unsigned int)
void insert (const Sphere3D &, int)
int NParts () const
vector< Sphere2D > getSpheresNear (const Vector3 &, double)
vector< Sphere2D > getSpheresFromGroupNear (const Vector3 &, double, int)
map< double, Sphere2D > getSpheresClosestTo (const Vector3 &, unsigned int)
double getSumVolume (unsigned int)
void writePositions (ostream &)
void writeRadii (ostream &)

Static Public Member Functions

static void SetOutputStyle (int)

Private Attributes

vector< vector< Sphere3D > > m_data

Static Private Attributes

static int s_output_style

Friends

ostream & operator<< (ostream &, const MNTCell2D &)

Detailed Description

class for a cell in a 3D neighbor table (MNTable3D)

Constructor & Destructor Documentation

MNTCell3D::MNTCell3D ( unsigned int  ngroups = 1)

Member Function Documentation

map<double,Sphere2D> MNTCell3D::getSpheresClosestTo ( const Vector3 ,
unsigned  int 
)
vector<Sphere2D> MNTCell3D::getSpheresFromGroupNear ( const Vector3 ,
double  ,
int   
)
vector<Sphere2D> MNTCell3D::getSpheresNear ( const Vector3 ,
double   
)
double MNTCell3D::getSumVolume ( unsigned  int)
void MNTCell3D::insert ( const Sphere3D &  ,
int   
)
int MNTCell3D::NParts ( ) const
void MNTCell3D::SetNGroups ( unsigned  int)
static void MNTCell3D::SetOutputStyle ( int  )
static
void MNTCell3D::writePositions ( ostream &  )
void MNTCell3D::writeRadii ( ostream &  )

Friends And Related Function Documentation

ostream& operator<< ( ostream &  ,
const MNTCell2D &   
)
friend

Member Data Documentation

vector<vector<Sphere3D> > MNTCell3D::m_data
private
int MNTCell3D::s_output_style
staticprivate

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