BALL
1.4.2
|
#include <BALL/STRUCTURE/SASEdge.h>
Public Member Functions | |
Constructors and Destructors | |
SASEdge () | |
SASEdge (const SASEdge &sasedge, bool deep=false) | |
SASEdge (SASVertex *vertex0, SASVertex *vertex1, SASFace *face0, SASFace *face1, const TCircle3< double > &circle, const TAngle< double > &angle, Index index) | |
virtual | ~SASEdge () |
Assignment | |
void | set (const SASEdge &sasedge, bool deep=false) |
SASEdge & | operator= (const SASEdge &sasedge) |
void | set (SASVertex *vertex0, SASVertex *vertex1, SASFace *face0, SASFace *face1, const TCircle3< double > &circle, const TAngle< double > &angle, Index index) |
Accessors | |
void | setCircle (const TCircle3< double > ¢er) |
TCircle3< double > | getCircle () const |
void | setAngle (const TAngle< double > &angle) |
TAngle< double > | getAngle () const |
Predicates | |
virtual bool | operator== (const SASEdge &) const |
virtual bool | operator!= (const SASEdge &) const |
virtual bool | operator*= (const SASEdge &) const |
bool | isFree () const |
Public Member Functions inherited from BALL::GraphEdge< SASVertex, SASEdge, SASFace > | |
GraphEdge () | |
GraphEdge (const GraphEdge< SASVertex, SASEdge, SASFace > &edge, bool deep=false) | |
GraphEdge (SASVertex *vertex1, SASVertex *vertex2, SASFace *face1, SASFace *face2, Index index) | |
virtual | ~GraphEdge () |
void | set (const GraphEdge< SASVertex, SASEdge, SASFace > &edge, bool deep=false) |
void | set (SASVertex *vertex0, SASVertex *vertex1, SASFace *face0, SASFace *face1, Index index) |
GraphEdge< SASVertex, SASEdge, SASFace > & | operator= (const GraphEdge< SASVertex, SASEdge, SASFace > &edge) |
void | setVertex (Position i, SASVertex *vertex) |
SASVertex * | getVertex (Position i) const |
void | setFace (Position i, SASFace *face) |
SASFace * | getFace (Position i) const |
void | setIndex (Index index) |
Index | getIndex () const |
SASVertex * | other (const SASVertex *vertex) const throw (Exception::GeneralException) |
SASFace * | other (const SASFace *face) const throw (Exception::GeneralException) |
bool | substitute (const SASVertex *old_vertex, SASVertex *new_vertex) |
bool | substitute (const SASFace *old_vertex, SASFace *new_vertex) |
SASFace * | remove (const SASFace *face) |
void | revert () |
Protected Attributes | |
TCircle3< double > | circle_ |
TAngle< double > | angle_ |
Protected Attributes inherited from BALL::GraphEdge< SASVertex, SASEdge, SASFace > | |
SASVertex * | vertex_ [2] |
SASFace * | face_ [2] |
Index | index_ |
Friends | |
Class friends | |
| |
class | SASVertex |
class | SASFace |
class | SolventAccessibleSurface |
class | TriangulatedSAS |
class | SASTriangulator |
Class friends | |
|
BALL::SASEdge::SASEdge | ( | ) |
Default constructor. This method creates a new SASEdge object.
BALL::SASEdge::SASEdge | ( | SASVertex * | vertex0, |
SASVertex * | vertex1, | ||
SASFace * | face0, | ||
SASFace * | face1, | ||
const TCircle3< double > & | circle, | ||
const TAngle< double > & | angle, | ||
Index | index | ||
) |
Detailled constructor. Create a new SASEdge object from some nice objects.
vertex0 | assigned to the first vertex |
vertex1 | assigned to the second vertex |
face0 | assigned to the first face |
face1 | assigned to the second face |
circle | assigned to the circle |
angle | assigned to the angle |
index | assigned to the index |
|
virtual |
Destructor. Destructs the SASEdge object.
Return the angle of the SASEdge.
Return the circle on which the SASEdge lies.
bool BALL::SASEdge::isFree | ( | ) | const |
Inequality operator.
Reimplemented from BALL::GraphEdge< SASVertex, SASEdge, SASFace >.
Similarity operator.
Reimplemented from BALL::GraphEdge< SASVertex, SASEdge, SASFace >.
Equality operator.
Reimplemented from BALL::GraphEdge< SASVertex, SASEdge, SASFace >.
void BALL::SASEdge::set | ( | SASVertex * | vertex0, |
SASVertex * | vertex1, | ||
SASFace * | face0, | ||
SASFace * | face1, | ||
const TCircle3< double > & | circle, | ||
const TAngle< double > & | angle, | ||
Index | index | ||
) |
Assign from some nice objects.
vertex0 | assigned to the first vertex |
vertex1 | assigned to the second vertex |
face0 | assigned to the first face |
face1 | assigned to the second face |
circle | assigned to the circle |
angle | assigned to the angle |
index | assigned to the index |
Set the angle of the SASEdge.
angle | the new angle |
Set the circle on which the SASEdge lies.
center | the new circle |
|
friend |
|
friend |
|
friend |