BALL::SASFace Class Reference
[Molecular Surface Computation]

Generic SASFace Class. More...

#include <SASFace.h>

Inheritance diagram for BALL::SASFace:
Inheritance graph
[legend]

List of all members.


Public Types

Type definitions
typedef std::list< bool >::iterator OrientationIterator
typedef std::list< bool >
::const_iterator
ConstOrientationIterator

Public Member Functions

Constructors and Destructors
SASFace ()
Default constructor.
SASFace (const SASFace &sasface, bool deep=false)
Copy constructor.
virtual ~SASFace ()
Destructor.
Assignments
void set (const SASFace &sasface, bool deep=false)
Assign from another SASFace.
SASFace & operator= (const SASFace &sasface)
Assign from another SASFace.
Accessors
void setSphere (const TSphere3< double > &sphere)
Set the sphere the GraphFace lies on.
TSphere3< double > getSphere () const
Return the sphere the GraphFace lies on.
Predicates
virtual bool operator== (const SASFace &) const
Equality operator.
virtual bool operator!= (const SASFace &) const
Inequality operator.
virtual bool operator*= (const SASFace &) const
Similarity operator.
External Iterators
OrientationIterator beginOrientation ()
ConstOrientationIterator beginOrientation () const
OrientationIterator endOrientation ()
ConstOrientationIterator endOrientation () const

Protected Attributes

Attributes
std::list< bool > orientation_
TSphere3< double > sphere_

Friends

Class friends
class SASEdge
class SASVertex
class SolventAccessibleSurface
class TriangulatedSAS
class SASTriangulator

Detailed Description

Generic SASFace Class.

Constructor & Destructor Documentation

BALL::SASFace::SASFace ( )

Default constructor.

This method creates a new SASFace object.

BALL::SASFace::SASFace ( const SASFace & sasface,
bool deep = false
)

Copy constructor.

Create a new SASFace object from another.

Parameters:
sasface the SASFace object to be copied
deep if deep = false, all pointers are set to NULL (default). Otherwise the new SASFace object is linked to the neighbours of the old SASFace object.

virtual BALL::SASFace::~SASFace ( ) [virtual]

Destructor.

Destructs the SASFace object.


Member Function Documentation

TSphere3<double> BALL::SASFace::getSphere ( ) const

Return the sphere the GraphFace lies on.

Returns:
TSphere<double> the sphere the GraphFace lies on

virtual bool BALL::SASFace::operator!= ( const SASFace & ) const [virtual]

Inequality operator.

Returns:
bool false

Reimplemented from BALL::GraphFace< SASVertex, SASEdge, SASFace >.

virtual bool BALL::SASFace::operator*= ( const SASFace & ) const [virtual]

Similarity operator.

Returns:
bool true

Reimplemented from BALL::GraphFace< SASVertex, SASEdge, SASFace >.

SASFace& BALL::SASFace::operator= ( const SASFace & sasface )

Assign from another SASFace.

The new SASFace object is linked to the neighbours of the SASFace object to assign from.

Parameters:
sasface the SASFace object to assign from

virtual bool BALL::SASFace::operator== ( const SASFace & ) const [virtual]

Equality operator.

Returns:
bool true

Reimplemented from BALL::GraphFace< SASVertex, SASEdge, SASFace >.

void BALL::SASFace::set ( const SASFace & sasface,
bool deep = false
)

Assign from another SASFace.

Parameters:
sasface the SASFace object to assign from
deep if deep = false, all pointers are set to NULL (default). Otherwise the new SASFace object is linked to the neighbours of the SASFace object to assign from.

void BALL::SASFace::setSphere ( const TSphere3< double > & sphere )

Set the sphere the GraphFace lies on.

Parameters:
sphere the new sphere

Generated on Thu Aug 6 18:30:47 2009 for BALL by doxygen 1.5.8