BALL::TriangulatedSAS Class Reference
[Molecular Surface Computation]

#include <BALL/STRUCTURE/triangulatedSAS.h>

Inheritance diagram for BALL::TriangulatedSAS:
BALL::TriangulatedSurface

List of all members.


Public Member Functions

Constructors and Destructors
 TriangulatedSAS ()
 TriangulatedSAS (const TriangulatedSAS &surface, bool=true)
 TriangulatedSAS (SolventAccessibleSurface *sas, const double &density)
virtual ~TriangulatedSAS ()
Assignment
void set (const TriangulatedSAS &surface, bool=true)
TriangulatedSASoperator= (const TriangulatedSAS &surface)
Accessors
void setDensity (const double &density)
double getDensity () const
void compute ()

Protected Attributes

SolventAccessibleSurfacesas_
double density_

Friends

Class friends
class SASTriangulator

Detailed Description

Generic TriangulatedSAS Class.


Constructor & Destructor Documentation

BALL::TriangulatedSAS::TriangulatedSAS (  ) 

Default constructor. This method creates a new TriangulatedSAS object.

BALL::TriangulatedSAS::TriangulatedSAS ( const TriangulatedSAS surface,
bool  = true 
)

Copy constructor. Create a new TriangulatedSAS object from another.

Parameters:
surface the TriangulatedSAS object to be copied
bool ignored - just for interface consistency
BALL::TriangulatedSAS::TriangulatedSAS ( SolventAccessibleSurface sas,
const double density 
)

Detailed constructor. Create a new empty TriangulatedSAS object and set its SAS.

Parameters:
sas a pointer to the corresponding SAS
density the density to use by triangulation
virtual BALL::TriangulatedSAS::~TriangulatedSAS (  )  [virtual]

Destructor. Destructs the TriangulatedSAS object.


Member Function Documentation

void BALL::TriangulatedSAS::compute (  ) 

Compute the solvent-accessible surface

double BALL::TriangulatedSAS::getDensity (  )  const

Get the density used by triangulation.

Reimplemented from BALL::TriangulatedSurface.

TriangulatedSAS& BALL::TriangulatedSAS::operator= ( const TriangulatedSAS surface  ) 

Assign from another TriangulatedSAS.

Parameters:
surface the TriangulatedSAS object to assign from
void BALL::TriangulatedSAS::set ( const TriangulatedSAS surface,
bool  = true 
)

Assign from another TriangulatedSAS.

Parameters:
surface the TriangulatedSAS object to assign from
bool ignored - just for interface consistency
void BALL::TriangulatedSAS::setDensity ( const double density  ) 

Set the density used by triangulation.

Reimplemented from BALL::TriangulatedSurface.


Friends And Related Function Documentation

friend class SASTriangulator [friend]

Member Data Documentation