Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

TrianglePoint Class Reference
[Molecular Surface Computation]

Generic TriangleEdge Class. More...

#include <trianglePoint.h>

Inheritance diagram for TrianglePoint:

GraphVertex< TrianglePoint, TriangleEdge, Triangle > List of all members.

Public Member Functions

Constructors and Destructors
 TrianglePoint () throw ()
 Default constructor.
 TrianglePoint (const TrianglePoint &point, bool deep=false) throw ()
 Copy constructor.
virtual ~TrianglePoint () throw ()
 Destructor.
Assignments
void set (const TrianglePoint &point, bool deep=false) throw ()
 Assign from another TrianglePoint.
TrianglePointoperator= (const TrianglePoint &point) throw ()
 Assign from another TrianglePoint.
Accessors
TVector3< double > getPoint () const throw ()
 Get the point.
void setPoint (const TVector3< double > &point) throw ()
 Set the point.
TVector3< double > getNormal () const throw ()
 Get the normal of the TrianglePoint.
void setNormal (const TVector3< double > &normal) throw (Exception::DivisionByZero)
 Set the normal of the TrianglePoint.
Predicates
virtual bool operator== (const TrianglePoint &point) const throw ()
 Equality operator.
virtual bool operator!= (const TrianglePoint &point) const throw ()
 Inequality operator.
virtual bool operator *= (const TrianglePoint &point) const throw ()
 Similarity operator.

Protected Attributes

TVector3< double > point_
TVector3< double > normal_

Friends

Class friends
  • class Triangle - class TriangleEdge - class TriangulatedSurface - class TriangulatedSphere - class TriangulatedSES - class SESTriangulator - class TriangulatedSAS - class SASTriangulator


class Triangle
class TriangleEdge
class TriangulatedSurface
class TriangulatedSphere
class TriangulatedSES
class SESTriangulator
class TriangulatedSAS
class SASTriangulator

Detailed Description

Generic TriangleEdge Class.


Constructor & Destructor Documentation

TrianglePoint::TrianglePoint  )  throw ()
 

Default constructor.

This method creates a new TrianglePoint object.

TrianglePoint::TrianglePoint const TrianglePoint point,
bool  deep = false
throw ()
 

Copy constructor.

Create a new TrianglePoint object from another.

Parameters:
point the TrianglePoint object to be copied
deep if deep = false, all pointers are set to NULL (default). Otherwise the new TrianglePoint object is linked to the neighbours of the old TrianglePoint object.

virtual TrianglePoint::~TrianglePoint  )  throw () [virtual]
 

Destructor.

Destructs the TrianglePoint object.


Member Function Documentation

virtual bool TrianglePoint::operator *= const TrianglePoint point  )  const throw () [virtual]
 

Similarity operator.

Returns:
bool true if the TrianglePoints lie on the same point, false otherwise.

Reimplemented from GraphVertex< TrianglePoint, TriangleEdge, Triangle >.

virtual bool TrianglePoint::operator!= const TrianglePoint point  )  const throw () [virtual]
 

Inequality operator.

Returns:
bool false if the TrianglePoints lie on the same point, true otherwise.

Reimplemented from GraphVertex< TrianglePoint, TriangleEdge, Triangle >.

TrianglePoint& TrianglePoint::operator= const TrianglePoint point  )  throw ()
 

Assign from another TrianglePoint.

The new TrianglePoint object is linked to the neighbours of the TrianglePoint object to assign from.

Parameters:
point the TrianglePoint object to assign from

virtual bool TrianglePoint::operator== const TrianglePoint point  )  const throw () [virtual]
 

Equality operator.

Returns:
bool true if the TrianglePoints lie on the same point, false otherwise.

Reimplemented from GraphVertex< TrianglePoint, TriangleEdge, Triangle >.

void TrianglePoint::set const TrianglePoint point,
bool  deep = false
throw ()
 

Assign from another TrianglePoint.

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