#include <trianglePoint.h>

Public Member Functions |
|
|
Constructors and Destructors
|
|
| TrianglePoint () | |
| Default constructor. |
|
| TrianglePoint (const TVector3< double > &point, const TVector3< double > &normal=TVector3< double >(0.)) | |
| Detailed constructor. |
|
| TrianglePoint (const TrianglePoint &point, bool deep=false) | |
| Copy constructor. |
|
| virtual | ~TrianglePoint () |
| Destructor. |
|
|
Assignments
|
|
| void | set (const TrianglePoint &point, bool deep=false) |
| Assign from another TrianglePoint. |
|
| TrianglePoint & | operator= (const TrianglePoint &point) |
| Assign from another TrianglePoint. |
|
|
Accessors
|
|
| TVector3< double > | getPoint () const |
| Get the point. |
|
| void | setPoint (const TVector3< double > &point) |
| Set the point. |
|
| TVector3< double > | getNormal () const |
| 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 |
| Equality operator. |
|
| virtual bool | operator!= (const TrianglePoint &point) const |
| Inequality operator. |
|
| virtual bool | operator*= (const TrianglePoint &point) const |
| 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 |
| BALL::TrianglePoint::TrianglePoint | ( | ) |
Default constructor.
This method creates a new TrianglePoint object.
| BALL::TrianglePoint::TrianglePoint | ( | const TVector3< double > & | point, | |
| const TVector3< double > & | normal = TVector3<
double >(0.) |
|||
| ) |
Detailed constructor.
This method creates a new TrianglePoint object with the given point and normal.
| BALL::TrianglePoint::TrianglePoint | ( | const TrianglePoint & | point, | |
| bool | deep =
false |
|||
| ) |
Copy constructor.
Create a new TrianglePoint object from another.
| 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 BALL::TrianglePoint::~TrianglePoint | ( | ) | [virtual] |
Destructor.
Destructs the TrianglePoint object.
| virtual bool BALL::TrianglePoint::operator!= | ( | const TrianglePoint & | point | ) | const [virtual] |
Inequality operator.
Reimplemented from BALL::GraphVertex< TrianglePoint, TriangleEdge, Triangle >.
| virtual bool BALL::TrianglePoint::operator*= | ( | const TrianglePoint & | point | ) | const [virtual] |
Similarity operator.
Reimplemented from BALL::GraphVertex< TrianglePoint, TriangleEdge, Triangle >.
| TrianglePoint& BALL::TrianglePoint::operator= | ( | const TrianglePoint & | point | ) |
Assign from another TrianglePoint.
The new TrianglePoint object is linked to the neighbours of the TrianglePoint object to assign from.
| point | the TrianglePoint object to assign from |
| virtual bool BALL::TrianglePoint::operator== | ( | const TrianglePoint & | point | ) | const [virtual] |
Equality operator.
Reimplemented from BALL::GraphVertex< TrianglePoint, TriangleEdge, Triangle >.
| void BALL::TrianglePoint::set | ( | const TrianglePoint & | point, | |
| bool | deep =
false |
|||
| ) |
Assign from another TrianglePoint.
| 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. |
1.5.8