BALL::SESEdge Class Reference
[Molecular Surface Computation]

Generic SESEdge Class. More...

#include <SESEdge.h>

Inheritance diagram for BALL::SESEdge:
Inheritance graph
[legend]

List of all members.


Public Types

Enums
enum Type { TYPE_CONCAVE = 0, TYPE_CONVEX = 1, TYPE_SINGULAR = 2 }
type of SESEdge: 0 concave 1 convex 2 singular

Public Member Functions

Constructors and Destructors
SESEdge ()
Default constructor.
SESEdge (const SESEdge &sesedge, bool deep=false)
Copy constructor.
SESEdge (SESVertex *vertex0, SESVertex *vertex1, SESFace *face0, SESFace *face1, const TCircle3< double > &circle, RSEdge *rsedge, Type type, Index index)
Detailled constructor.
virtual ~SESEdge ()
Destructor.
Assignment
void set (const SESEdge &sesedge, bool deep=false)
Assign from another SESEdge.
SESEdge & operator= (const SESEdge &sesedge)
Assign from another SESEdge.
void set (SESVertex *vertex0, SESVertex *vertex1, SESFace *face0, SESFace *face1, const TCircle3< double > &circle, RSEdge *rsedge, Type type, Index index)
Assign from some nice objects.
Accessors
void setCircle (const TCircle3< double > &center)
Set the circle on wich the SESEdge lies.
TCircle3< double > getCircle () const
Return the circle on wich the SESEdge lies.
void setRSEdge (RSEdge *rsedge)
Set the corresponding RSEdge.
RSEdge * getRSEdge () const
Return the corresponding RSEdge.
void setType (Type type)
Set the type of the SESEdge.
Type getType () const
Get the type of the SESEdge.
Predicates
virtual bool operator== (const SESEdge &sesedge) const
Equality operator.
virtual bool operator!= (const SESEdge &sesedge) const
Inequality operator.
virtual bool operator*= (const SESEdge &) const
similarity operator.
bool isFree () const
isFree.

Protected Attributes

TCircle3< double > circle_
RSEdge * rsedge_
Type type_

Friends

Class friends


class SESFace
class SESVertex
class SolventExcludedSurface
class SESComputer
class SESSingularityCleaner
class TriangulatedSES
class SESTriangulator

Detailed Description

Generic SESEdge Class.

Constructor & Destructor Documentation

BALL::SESEdge::SESEdge ( )

Default constructor.

This method creates a new SESEdge object.

BALL::SESEdge::SESEdge ( const SESEdge & sesedge,
bool deep = false
)

Copy constructor.

Create a new SESEdge object from another.

Parameters:
sesedge the SESEdge object to be copied
deep if deep = false, all pointers are set to NULL (default). Otherwise the new SESEdge object is linked to the neighbours of the old 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.

Parameters:
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
rsedge assigned to the RSEdge
type assigned to the type of the SESEdge
index assigned to the index

virtual BALL::SESEdge::~SESEdge ( ) [virtual]

Destructor.

Destructs the SESEdge object.


Member Function Documentation

TCircle3<double> BALL::SESEdge::getCircle ( ) const

Return the circle on wich the SESEdge lies.

Returns:
TCircle3<double> the circle of The SESEdge

RSEdge* BALL::SESEdge::getRSEdge ( ) const

Return the corresponding RSEdge.

Returns:
RSEdge* a pointer to th correwsponding RSEdge

Type BALL::SESEdge::getType ( ) const

Get the type of the SESEdge.

Returns:
Type the type of the SESEdge

bool BALL::SESEdge::isFree ( ) const

isFree.

Returns:
bool true if the RSEdge of the SESEdge is free, false otherwise

virtual bool BALL::SESEdge::operator!= ( const SESEdge & sesedge ) const [virtual]

Inequality operator.

Returns:
bool false if all vertices are equal modulo order, true otherwise

Reimplemented from BALL::GraphEdge< SESVertex, SESEdge, SESFace >.

virtual bool BALL::SESEdge::operator*= ( const SESEdge & ) const [virtual]

similarity operator.

Returns:
bool true

Reimplemented from BALL::GraphEdge< SESVertex, SESEdge, SESFace >.

SESEdge& BALL::SESEdge::operator= ( const SESEdge & sesedge )

Assign from another SESEdge.

The SESEdge object is linked to the neighbours of the SESEdge object to assign from.

Parameters:
sesedge the SESEdge object to assign from

virtual bool BALL::SESEdge::operator== ( const SESEdge & sesedge ) const [virtual]

Equality operator.

Returns:
bool true if all vertices are equal modulo order, false otherwise

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.

Parameters:
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
rsedge assigned to the RSEdge
type assigned to the type of the SESEdge
index assigned to the index

void BALL::SESEdge::set ( const SESEdge & sesedge,
bool deep = false
)

Assign from another SESEdge.

Parameters:
sesedge the SESEdge object to assign from
deep if deep = false, all pointers are set to NULL (default). Otherwise the SESEdge object is linked to the neighbours of the SESEdge object to assign from.

void BALL::SESEdge::setCircle ( const TCircle3< double > & center )

Set the circle on wich the SESEdge lies.

Parameters:
center the new circle

void BALL::SESEdge::setRSEdge ( RSEdge * rsedge )

Set the corresponding RSEdge.

Parameters:
rsedge a pointer to the new RSEdge

void BALL::SESEdge::setType ( Type type )

Set the type of the SESEdge.

Parameters:
type the new type of the SESEdge

Generated on Thu Aug 6 18:30:48 2009 for BALL by doxygen 1.5.8