BALL
1.4.2
|
#include <BALL/STRUCTURE/SESEdge.h>
Public Types | |
Enums | |
enum | Type { TYPE_CONCAVE = 0, TYPE_CONVEX = 1, TYPE_SINGULAR = 2 } |
Public Member Functions | |
Constructors and Destructors | |
SESEdge () | |
SESEdge (const SESEdge &sesedge, bool deep=false) | |
SESEdge (SESVertex *vertex0, SESVertex *vertex1, SESFace *face0, SESFace *face1, const TCircle3< double > &circle, RSEdge *rsedge, Type type, Index index) | |
virtual | ~SESEdge () |
Assignment | |
void | set (const SESEdge &sesedge, bool deep=false) |
SESEdge & | operator= (const SESEdge &sesedge) |
void | set (SESVertex *vertex0, SESVertex *vertex1, SESFace *face0, SESFace *face1, const TCircle3< double > &circle, RSEdge *rsedge, Type type, Index index) |
Accessors | |
void | setCircle (const TCircle3< double > ¢er) |
TCircle3< double > | getCircle () const |
void | setRSEdge (RSEdge *rsedge) |
RSEdge * | getRSEdge () const |
void | setType (Type type) |
Type | getType () const |
Predicates | |
virtual bool | operator== (const SESEdge &sesedge) const |
virtual bool | operator!= (const SESEdge &sesedge) const |
virtual bool | operator*= (const SESEdge &) const |
bool | isFree () const |
Public Member Functions inherited from BALL::GraphEdge< SESVertex, SESEdge, SESFace > | |
GraphEdge () | |
GraphEdge (const GraphEdge< SESVertex, SESEdge, SESFace > &edge, bool deep=false) | |
GraphEdge (SESVertex *vertex1, SESVertex *vertex2, SESFace *face1, SESFace *face2, Index index) | |
virtual | ~GraphEdge () |
void | set (const GraphEdge< SESVertex, SESEdge, SESFace > &edge, bool deep=false) |
void | set (SESVertex *vertex0, SESVertex *vertex1, SESFace *face0, SESFace *face1, Index index) |
GraphEdge< SESVertex, SESEdge, SESFace > & | operator= (const GraphEdge< SESVertex, SESEdge, SESFace > &edge) |
void | setVertex (Position i, SESVertex *vertex) |
SESVertex * | getVertex (Position i) const |
void | setFace (Position i, SESFace *face) |
SESFace * | getFace (Position i) const |
void | setIndex (Index index) |
Index | getIndex () const |
SESVertex * | other (const SESVertex *vertex) const throw (Exception::GeneralException) |
SESFace * | other (const SESFace *face) const throw (Exception::GeneralException) |
bool | substitute (const SESVertex *old_vertex, SESVertex *new_vertex) |
bool | substitute (const SESFace *old_vertex, SESFace *new_vertex) |
SESFace * | remove (const SESFace *face) |
void | revert () |
Protected Attributes | |
TCircle3< double > | circle_ |
RSEdge * | rsedge_ |
Type | type_ |
Protected Attributes inherited from BALL::GraphEdge< SESVertex, SESEdge, SESFace > | |
SESVertex * | vertex_ [2] |
SESFace * | face_ [2] |
Index | index_ |
Friends | |
Class friends | |
| |
class | SESFace |
class | SESVertex |
class | SolventExcludedSurface |
class | SESComputer |
class | SESSingularityCleaner |
class | TriangulatedSES |
class | SESTriangulator |
Class friends | |
|
enum BALL::SESEdge::Type |
BALL::SESEdge::SESEdge | ( | ) |
Default constructor. This method creates a new SESEdge object.
BALL::SESEdge::SESEdge | ( | SESVertex * | vertex0, |
SESVertex * | vertex1, | ||
SESFace * | face0, | ||
SESFace * | face1, | ||
const TCircle3< double > & | circle, | ||
RSEdge * | rsedge, | ||
Type | type, | ||
Index | index | ||
) |
Detailled constructor. Create a new SESEdge object from some nice objects.
|
virtual |
Destructor. Destructs the SESEdge object.
Return the circle on wich the SESEdge lies.
RSEdge* BALL::SESEdge::getRSEdge | ( | ) | const |
Type BALL::SESEdge::getType | ( | ) | const |
bool BALL::SESEdge::isFree | ( | ) | const |
Inequality operator.
Reimplemented from BALL::GraphEdge< SESVertex, SESEdge, SESFace >.
similarity operator.
Reimplemented from BALL::GraphEdge< SESVertex, SESEdge, SESFace >.
Equality operator.
Reimplemented from BALL::GraphEdge< SESVertex, SESEdge, SESFace >.
void BALL::SESEdge::set | ( | SESVertex * | vertex0, |
SESVertex * | vertex1, | ||
SESFace * | face0, | ||
SESFace * | face1, | ||
const TCircle3< double > & | circle, | ||
RSEdge * | rsedge, | ||
Type | type, | ||
Index | index | ||
) |
Assign from some nice objects.
Set the circle on wich the SESEdge lies.
center | the new circle |
void BALL::SESEdge::setRSEdge | ( | RSEdge * | rsedge | ) |
void BALL::SESEdge::setType | ( | Type | type | ) |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |