BALL
1.4.1
|
#include <BALL/STRUCTURE/SESFace.h>
Public Types | |
Enums | |
enum | Type { TYPE_SPHERIC = 0, TYPE_TORIC = 1, TYPE_CONTACT = 2, TYPE_TORIC_SINGULAR = 3 } |
Public Member Functions | |
Constructors and Destructors | |
SESFace () | |
SESFace (const SESFace &sesface, bool deep=false) | |
SESFace (Type type, RSVertex *rsvertex, RSEdge *rsedge, RSFace *rsface) | |
virtual | ~SESFace () |
Assignments | |
void | set (const SESFace &sesface, bool deep=false) |
SESFace & | operator= (const SESFace &sesface) |
void | setType (Type type) |
Type | getType () const |
void | setRSVertex (RSVertex *rsvertex) |
RSVertex * | getRSVertex () const |
void | setRSEdge (RSEdge *rsedge) |
RSEdge * | getRSEdge () const |
void | setRSFace (RSFace *rsface) |
RSFace * | getRSFace () const |
Accessors | |
void | normalize (bool singular) |
Predicates | |
virtual bool | operator== (const SESFace &) const |
virtual bool | operator!= (const SESFace &) const |
virtual bool | operator*= (const SESFace &) const |
bool | isNeighbouredTo (SESFace *face) const |
bool | isFree () const |
bool | hasSingularEdges () const |
Protected Attributes | |
Attributes | |
Type | type_ |
RSVertex * | rsvertex_ |
RSEdge * | rsedge_ |
RSFace * | rsface_ |
Private Member Functions | |
void | normalizeNonSingularToricFace_ () |
void | normalizeSingularToricFace_ () |
void | findTriangle_ (bool first, SESEdge *&edge0, SESEdge *&edge1, SESEdge *&edge2, SESVertex *&vertex0, SESVertex *&vertex1, SESVertex *&vertex2) |
Friends | |
Class friends | |
| |
class | SESEdge |
class | SESVertex |
class | SolventExcludedSurface |
class | SESComputer |
class | SESSingularityCleaner |
class | TriangulatedSES |
class | SESTriangulator |
enum BALL::SESFace::Type |
Default constructor. This method creates a new SESFace object.
BALL::SESFace::SESFace | ( | const SESFace & | sesface, |
bool | deep = false |
||
) |
BALL::SESFace::SESFace | ( | Type | type, |
RSVertex * | rsvertex, | ||
RSEdge * | rsedge, | ||
RSFace * | rsface | ||
) |
Detailled constructor. Create a new SESFace object
type | assigned the type |
rsvertex | assigned to the rsvertex |
rsedge | assigned to the rsedge |
rsface | assigned to the rsface |
virtual BALL::SESFace::~SESFace | ( | ) | [virtual] |
Destructor. Destructs the SESFace object.
void BALL::SESFace::findTriangle_ | ( | bool | first, |
SESEdge *& | edge0, | ||
SESEdge *& | edge1, | ||
SESEdge *& | edge2, | ||
SESVertex *& | vertex0, | ||
SESVertex *& | vertex1, | ||
SESVertex *& | vertex2 | ||
) | [private] |
RSEdge* BALL::SESFace::getRSEdge | ( | ) | const |
RSFace* BALL::SESFace::getRSFace | ( | ) | const |
RSVertex* BALL::SESFace::getRSVertex | ( | ) | const |
Type BALL::SESFace::getType | ( | ) | const |
Get the type of the SESFace
bool BALL::SESFace::hasSingularEdges | ( | ) | const |
Test whether a face has singular edges.
bool BALL::SESFace::isFree | ( | ) | const |
Test whether a toric face is free ore not.
bool BALL::SESFace::isNeighbouredTo | ( | SESFace * | face | ) | const |
Test whether two faces are neighboured. Two faces are neighboured if they have a common edge.
face | the face to be tested |
void BALL::SESFace::normalize | ( | bool | singular | ) |
Normalize the SESFace.
void BALL::SESFace::normalizeNonSingularToricFace_ | ( | ) | [private] |
void BALL::SESFace::normalizeSingularToricFace_ | ( | ) | [private] |
Inequality operator.
Reimplemented from BALL::GraphFace< SESVertex, SESEdge, SESFace >.
Similarity operator.
Reimplemented from BALL::GraphFace< SESVertex, SESEdge, SESFace >.
Equality operator.
Reimplemented from BALL::GraphFace< SESVertex, SESEdge, SESFace >.
void BALL::SESFace::set | ( | const SESFace & | sesface, |
bool | deep = false |
||
) |
void BALL::SESFace::setRSEdge | ( | RSEdge * | rsedge | ) |
void BALL::SESFace::setRSFace | ( | RSFace * | rsface | ) |
void BALL::SESFace::setRSVertex | ( | RSVertex * | rsvertex | ) |
void BALL::SESFace::setType | ( | Type | type | ) |
Set the type of the SESFace.
type | the new type |
friend class SESComputer [friend] |
friend class SESSingularityCleaner [friend] |
friend class SESTriangulator [friend] |
friend class SolventExcludedSurface [friend] |
friend class TriangulatedSES [friend] |
RSEdge* BALL::SESFace::rsedge_ [protected] |
RSFace* BALL::SESFace::rsface_ [protected] |
RSVertex* BALL::SESFace::rsvertex_ [protected] |
Type BALL::SESFace::type_ [protected] |