#include <reducedSurface.h>
Public Member Functions | |
Constructors and Destructors | |
ReducedSurface () throw () | |
Default constructor. | |
ReducedSurface (const ReducedSurface &reduced_surface, bool=true) throw () | |
Copy constructor. | |
ReducedSurface (const std::vector< TSphere3< double > > &spheres, const double &probe_radius) throw () | |
Detailed constructor. | |
virtual | ~ReducedSurface () throw () |
Destructor. | |
Assignment | |
void | operator= (const ReducedSurface &reduced_surface) throw () |
Assign from another ReducedSurface. | |
void | set (const ReducedSurface &reduced_surface) throw () |
Assign from another ReducedSurface. | |
void | clear () throw () |
Delete all vertices, edges and faces. | |
void | clean () throw () |
Remove all NULL-pointers. | |
Accessors | |
Size | numberOfAtoms () const throw () |
Return the number of atoms. | |
Size | numberOfVertices () const throw () |
Return the number of rsvertices. | |
Size | numberOfEdges () const throw () |
Return the number of rsedges. | |
Size | numberOfFaces () const throw () |
Return the number of rsfaces. | |
double | getProbeRadius () const throw () |
Return the probe radius. | |
TSphere3< double > | getSphere (Position i) const throw (Exception::IndexOverflow) |
Return the i'th sphere. | |
RSVertex * | getVertex (Position i) const throw (Exception::IndexOverflow) |
Return the i'th rsvertex. | |
RSEdge * | getEdge (Position i) const throw (Exception::IndexOverflow) |
Return the i'th rsedge. | |
RSFace * | getFace (Position i) const throw (Exception::IndexOverflow) |
Return the i'th rsface. | |
void | insert (RSVertex *rsvertex) throw () |
Insert a new RSVertex. | |
void | insert (RSEdge *rsedge) throw () |
Insert a new RSEdge. | |
void | insert (RSFace *rsface) throw () |
Insert a new RSFace. | |
double | getMaximalRadius () const throw () |
Return the maximal radius of te atoms of te molecule. | |
TSimpleBox3< double > | getBoundingBox () const throw () |
Return the bounding box of the centers of te atoms of te molecule. | |
void | deleteSimilarFaces (RSFace *face1, RSFace *face2) throw () |
Delete a pair of similar faces. | |
bool | getAngle (RSFace *face1, RSFace *face2, RSVertex *vertex1, RSVertex *vertex2, TAngle< double > &angle, bool check=false) const throw () |
Get the angle between two RSFaces. | |
void | compute () throw (Exception::GeneralException, Exception::DivisionByZero, Exception::IndexOverflow) |
Compute the reduced surface. | |
Protected Attributes | |
Size | number_of_atoms_ |
std::vector< TSphere3< double > > | atom_ |
double | probe_radius_ |
Size | number_of_vertices_ |
std::vector< RSVertex * > | vertices_ |
Size | number_of_edges_ |
std::vector< RSEdge * > | edges_ |
Size | number_of_faces_ |
std::vector< RSFace * > | faces_ |
double | r_max_ |
TSimpleBox3< double > | bounding_box_ |
Friends | |
Class friends | |
| |
class | RSComputer |
class | SolventExcludedSurface |
class | SESComputer |
class | SESSingularityCleaner |
class | SolventAccessibleSurface |
class | TriangulatedSES |
class | TriangulatedSAS |
class | SESTriangulator |
|
Default constructor.
All components are initialized to |
|
Copy constructor.
|
|
Detailed constructor. Create a new ReducedSurface object from a list of spheres. |
|
Destructor.
|
|
Delete all vertices, edges and faces.
|
|
Compute the reduced surface.
|
|
Delete a pair of similar faces.
|
|
Get the angle between two RSFaces.
|
|
Return the bounding box of the centers of te atoms of te molecule.
|
|
Return the i'th rsedge.
|
|
Return the i'th rsface.
|
|
Return the maximal radius of te atoms of te molecule.
|
|
Return the probe radius.
|
|
Return the i'th sphere.
|
|
Return the i'th rsvertex.
|
|
Insert a new RSFace.
|
|
Insert a new RSEdge.
|
|
Insert a new RSVertex.
|
|
Return the number of atoms.
|
|
Return the number of rsedges.
|
|
Return the number of rsfaces.
|
|
Return the number of rsvertices.
|
|
Assign from another ReducedSurface.
|
|
Assign from another ReducedSurface.
|