#include <BALL/STRUCTURE/SESFace.h>
List of all members.
|
Public Types |
|
enum | Type { TYPE_SPHERIC = 0,
TYPE_TORIC = 1,
TYPE_CONTACT = 2,
TYPE_TORIC_SINGULAR = 3
} |
Public Member Functions |
|
| SESFace () |
| SESFace (const SESFace &sesface, bool deep=false) |
| SESFace (Type type, RSVertex *rsvertex, RSEdge *rsedge, RSFace *rsface) |
virtual | ~SESFace () |
|
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 |
|
void | normalize (bool singular) |
|
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 |
|
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 | SESEdge |
class | SESVertex |
class | SolventExcludedSurface |
class | SESComputer |
class | SESSingularityCleaner |
class | TriangulatedSES |
class | SESTriangulator |
Detailed Description
Generic SESFace Class.
Member Enumeration Documentation
type of SESFace: 0
spheric reentrant face 1
toric reentrant face 2
contact face 3
singular toric reentrant face
- Enumerator:
TYPE_SPHERIC |
|
TYPE_TORIC |
|
TYPE_CONTACT |
|
TYPE_TORIC_SINGULAR |
|
Constructor & Destructor Documentation
BALL::SESFace::SESFace |
( |
|
) |
|
Default constructor. This method creates a new SESFace object.
BALL::SESFace::SESFace |
( |
const SESFace & |
sesface, |
|
|
bool |
deep = false | |
|
) |
| | |
Copy constructor. Create a new SESFace object from another.
- Parameters:
-
| sesface | the SESFace object to be copied |
| deep | if deep = false, all pointers are set to NULL (default). Otherwise the new SESFace object is linked to the neighbours of the old SESFace object. |
Detailled constructor. Create a new SESFace object
- Parameters:
-
| 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.
Member Function Documentation
RSEdge* BALL::SESFace::getRSEdge |
( |
|
) |
const |
Get the corresponding RSEdge of the SESFace.
- Returns:
- RSEdge* a pointer to the corresponding RSEdge
RSFace* BALL::SESFace::getRSFace |
( |
|
) |
const |
Get the corresponding RSFace of the SESFace.
- Returns:
- RSFace* a pointer to the corresponding RSFace
RSVertex* BALL::SESFace::getRSVertex |
( |
|
) |
const |
Type BALL::SESFace::getType |
( |
|
) |
const |
bool BALL::SESFace::hasSingularEdges |
( |
|
) |
const |
Test whether a face has singular edges.
- Returns:
- bool true if the face has singular edges, false otherwise
bool BALL::SESFace::isFree |
( |
|
) |
const |
Test whether a toric face is free ore not.
- Returns:
- bool true if the face is toric and free, false otherwise
bool BALL::SESFace::isNeighbouredTo |
( |
SESFace * |
face |
) |
const |
Test whether two faces are neighboured. Two faces are neighboured if they have a common edge.
- Parameters:
-
| face | the face to be tested |
- Returns:
- bool true if the faces are neighboured, false otherwise
void BALL::SESFace::normalize |
( |
bool |
singular |
) |
|
void BALL::SESFace::normalizeNonSingularToricFace_ |
( |
|
) |
[private] |
void BALL::SESFace::normalizeSingularToricFace_ |
( |
|
) |
[private] |
virtual bool BALL::SESFace::operator!= |
( |
const SESFace & |
|
) |
const [virtual] |
virtual bool BALL::SESFace::operator*= |
( |
const SESFace & |
|
) |
const [virtual] |
Assign from another SESFace. The SESFace object is linked to the neighbours of the SESFace object to assign from.
- Parameters:
-
| sesface | the SESFace object to assign from |
virtual bool BALL::SESFace::operator== |
( |
const SESFace & |
|
) |
const [virtual] |
void BALL::SESFace::set |
( |
const SESFace & |
sesface, |
|
|
bool |
deep = false | |
|
) |
| | |
Assign from another SESFace.
- Parameters:
-
| sesface | the SESFace object to assign from |
| deep | if deep = false, all pointers are set to NULL (default). Otherwise the SESFace object is linked to the neighbours of the SESFace object to assign from. |
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.
- Parameters:
-
Friends And Related Function Documentation
Member Data Documentation