#include <SESFace.h>
Public Types |
|
Enums
|
|
enum | Type { TYPE_SPHERIC = 0, TYPE_TORIC = 1, TYPE_CONTACT = 2, TYPE_TORIC_SINGULAR = 3 } |
type of SESFace: 0
spheric reentrant face 1 toric reentrant face
2 contact face 3 singular toric
reentrant face |
|
Public Member Functions |
|
Constructors and Destructors
|
|
SESFace () | |
Default constructor. |
|
SESFace (const SESFace &sesface, bool deep=false) | |
Copy constructor. |
|
SESFace (Type type, RSVertex *rsvertex, RSEdge *rsedge, RSFace *rsface) | |
Detailled constructor. |
|
virtual | ~SESFace () |
Destructor. |
|
Assignments
|
|
void | set (const SESFace &sesface, bool deep=false) |
Assign from another SESFace. |
|
SESFace & | operator= (const SESFace &sesface) |
Assign from another SESFace. |
|
void | setType (Type type) |
Set the type of the SESFace. |
|
Type | getType () const |
Get the type of the SESFace. |
|
void | setRSVertex (RSVertex *rsvertex) |
Set the corresponding RSVertex of the SESFace. |
|
RSVertex * | getRSVertex () const |
Get the corresponding RSVertex of the SESFace. |
|
void | setRSEdge (RSEdge *rsedge) |
Set the corresponding RSEdge of the SESFace. |
|
RSEdge * | getRSEdge () const |
Get the corresponding RSEdge of the SESFace. |
|
void | setRSFace (RSFace *rsface) |
Set the corresponding RSFace of the SESFace. |
|
RSFace * | getRSFace () const |
Get the corresponding RSFace of the SESFace. |
|
Accessors
|
|
void | normalize (bool singular) |
Normalize the SESFace. |
|
Predicates
|
|
virtual bool | operator== (const SESFace &) const |
Equality operator. |
|
virtual bool | operator!= (const SESFace &) const |
Inequality operator. |
|
virtual bool | operator*= (const SESFace &) const |
Similarity operator. |
|
bool | isNeighbouredTo (SESFace *face) const |
Test whether two faces are
neighboured. |
|
bool | isFree () const |
Test whether a toric face is free
ore not. |
|
bool | hasSingularEdges () const |
Test whether a face has singular
edges. |
|
Protected Attributes |
|
Attributes
|
|
Type | type_ |
RSVertex * | rsvertex_ |
RSEdge * | rsedge_ |
RSFace * | rsface_ |
Friends |
|
Class friends
|
|
|
|
class | SESEdge |
class | SESVertex |
class | SolventExcludedSurface |
class | SESComputer |
class | SESSingularityCleaner |
class | TriangulatedSES |
class | SESTriangulator |
BALL::SESFace::SESFace | ( | ) |
Default constructor.
This method creates a new SESFace object.
BALL::SESFace::SESFace | ( | const SESFace & | sesface, | |
bool | deep =
false |
|||
) |
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.
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 |
virtual bool BALL::SESFace::operator!= | ( | const SESFace & | ) | const [virtual] |
Inequality operator.
Reimplemented from BALL::GraphFace< SESVertex, SESEdge, SESFace >.
virtual bool BALL::SESFace::operator*= | ( | const SESFace & | ) | const [virtual] |
Similarity operator.
Reimplemented from BALL::GraphFace< SESVertex, SESEdge, SESFace >.
virtual bool BALL::SESFace::operator== | ( | const SESFace & | ) | const [virtual] |
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 | ) |