2012-09-24 02:28:15 +02:00
|
|
|
class Node
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <Node.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
|
|
|
Node();
|
|
|
|
Node( const Node& n );
|
|
|
|
~Node();
|
|
|
|
// Node& operator=( const Node& n );
|
2015-07-29 11:52:14 +02:00
|
|
|
/** Returns a pointer to the next element in the linked list*/
|
2012-09-24 02:28:15 +02:00
|
|
|
Node* getNext() const;
|
2015-07-29 11:52:14 +02:00
|
|
|
/** Returns a pointer to the Point3D object associated with the node*/
|
2012-09-24 02:28:15 +02:00
|
|
|
Point3D* getPoint() const;
|
2015-07-29 11:52:14 +02:00
|
|
|
/** Sets the pointer to the next node*/
|
2012-09-24 02:28:15 +02:00
|
|
|
void setNext( Node* n );
|
2015-07-29 11:52:14 +02:00
|
|
|
/** Sets a new pointer to an associated Point3D object*/
|
2012-09-24 02:28:15 +02:00
|
|
|
void setPoint( Point3D* p );
|
|
|
|
};
|