#include <PGrid.h>
Inheritance diagram for PGrid:
Public Member Functions | |
Real | getSideLength () const |
void | setSideLength (int newVal) |
list< PAtom * > | AtomsNearPoint (const Vector3 &point, Real distance) const |
pair< Vector3, Vector3 > | getCellBoundingBox (const Vector3 &pos) const |
pair< Vector3, Vector3 > | getGlobalBoundingBox () const |
OccupancyMap | getOccupancy () const |
Static Public Member Functions | |
static int | getOccupancyNeighborNumber (const pair< Vector3, Vector3 > &bound, OccupancyMap &occupancy, Vector3 pt) |
Static Public Attributes | |
static const int | BOND_THRESHOLD = 3 |
Friends | |
class | PAtom |
class | PAtomShell |
class | PChain |
Real PGrid::getSideLength | ( | ) | const [inline] |
Returns the length of the grid box.
void PGrid::setSideLength | ( | int | newVal | ) |
Sets the length of the grid box.
list< PAtom * > PGrid::AtomsNearPoint | ( | const Vector3 & | point, | |
Real | distance | |||
) | const [virtual] |
Given a point and a distance, returns list of atoms that satisfies the constraint.
Implements PSpaceManager.
pair< Vector3, Vector3 > PGrid::getCellBoundingBox | ( | const Vector3 & | pos | ) | const [virtual] |
Implements PSpaceManager.
pair< Vector3, Vector3 > PGrid::getGlobalBoundingBox | ( | ) | const [virtual] |
Implements PSpaceManager.
OccupancyMap PGrid::getOccupancy | ( | ) | const [virtual] |
Implements PSpaceManager.
int PGrid::getOccupancyNeighborNumber | ( | const pair< Vector3, Vector3 > & | bound, | |
OccupancyMap & | occupancy, | |||
Vector3 | pt | |||
) | [static] |
friend class PAtom [friend] |
friend class PAtomShell [friend] |
friend class PChain [friend] |
const int PGrid::BOND_THRESHOLD = 3 [static] |
Sets the atoms that are included within bond threshold for the collision test.