#include <BALL/STRUCTURE/SESFace.h>
|
|
| 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 |
|
| GraphFace () |
|
| GraphFace (const GraphFace< SESVertex, SESEdge, SESFace > &face, bool deep=false) |
|
virtual | ~GraphFace () |
|
void | set (const GraphFace< SESVertex, SESEdge, SESFace > &face, bool deep=false) |
|
GraphFace< SESVertex, SESEdge, SESFace > & | operator= (const GraphFace< SESVertex, SESEdge, SESFace > &face) |
|
void | insert (SESVertex *vertex) |
|
void | insert (SESEdge *edge) |
|
void | remove (SESVertex *vertex) |
|
void | remove (SESEdge *edge) |
|
Position | numberOfVertices () const |
|
Position | numberOfEdges () const |
|
void | setIndex (Index index) |
|
Index | getIndex () const |
|
bool | getEdges (const SESVertex *vertex, SESEdge *&edge1, SESEdge *&edge2) const |
|
bool | getEdge (const SESVertex *vertex1, const SESVertex *vertex2, SESEdge *&edge) const |
|
SESEdge * | getSimilarEdge (const SESEdge *edge) const |
|
bool | substitute (const SESVertex *old_vertex, SESVertex *new_vertex) |
|
bool | substitute (const SESEdge *old_edge, SESEdge *new_edge) |
|
SESVertex * | has (SESVertex *vertex) const |
|
SESEdge * | has (SESEdge *edge) const |
|
VertexIterator | beginVertex () |
|
ConstVertexIterator | beginVertex () const |
|
VertexIterator | endVertex () |
|
ConstVertexIterator | endVertex () const |
|
EdgeIterator | beginEdge () |
|
ConstEdgeIterator | beginEdge () const |
|
EdgeIterator | endEdge () |
|
ConstEdgeIterator | endEdge () const |
|
Generic SESFace Class.
Definition at line 37 of file SESFace.h.
◆ Type
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 | |
Definition at line 72 of file SESFace.h.
◆ SESFace() [1/3]
BALL::SESFace::SESFace |
( |
| ) |
|
Default constructor. This method creates a new SESFace object.
◆ SESFace() [2/3]
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. |
◆ SESFace() [3/3]
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 |
◆ ~SESFace()
virtual BALL::SESFace::~SESFace |
( |
| ) |
|
|
virtual |
Destructor. Destructs the SESFace object.
◆ getRSEdge()
RSEdge* BALL::SESFace::getRSEdge |
( |
| ) |
const |
Get the corresponding RSEdge of the SESFace.
- Returns
- RSEdge* a pointer to the corresponding RSEdge
◆ getRSFace()
RSFace* BALL::SESFace::getRSFace |
( |
| ) |
const |
Get the corresponding RSFace of the SESFace.
- Returns
- RSFace* a pointer to the corresponding RSFace
◆ getRSVertex()
RSVertex* BALL::SESFace::getRSVertex |
( |
| ) |
const |
◆ getType()
Type BALL::SESFace::getType |
( |
| ) |
const |
◆ hasSingularEdges()
bool BALL::SESFace::hasSingularEdges |
( |
| ) |
const |
Test whether a face has singular edges.
- Returns
- bool true if the face has singular edges, false otherwise
◆ isFree()
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
◆ isNeighbouredTo()
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
◆ normalize()
void BALL::SESFace::normalize |
( |
bool |
singular | ) |
|
◆ operator!=()
virtual bool BALL::SESFace::operator!= |
( |
const SESFace & |
| ) |
const |
|
virtual |
◆ operator*=()
virtual bool BALL::SESFace::operator*= |
( |
const SESFace & |
| ) |
const |
|
virtual |
◆ operator=()
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 |
◆ operator==()
virtual bool BALL::SESFace::operator== |
( |
const SESFace & |
| ) |
const |
|
virtual |
◆ set()
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. |
◆ setRSEdge()
void BALL::SESFace::setRSEdge |
( |
RSEdge * |
rsedge | ) |
|
◆ setRSFace()
void BALL::SESFace::setRSFace |
( |
RSFace * |
rsface | ) |
|
◆ setRSVertex()
void BALL::SESFace::setRSVertex |
( |
RSVertex * |
rsvertex | ) |
|
◆ setType()
void BALL::SESFace::setType |
( |
Type |
type | ) |
|
Set the type of the SESFace.
- Parameters
-
◆ SESComputer
◆ SESEdge
◆ SESSingularityCleaner
◆ SESTriangulator
◆ SESVertex
◆ SolventExcludedSurface
◆ TriangulatedSES
◆ rsedge_
RSEdge* BALL::SESFace::rsedge_ |
|
protected |
◆ rsface_
RSFace* BALL::SESFace::rsface_ |
|
protected |
◆ rsvertex_
◆ type_
Type BALL::SESFace::type_ |
|
protected |