QGIS API Documentation
2.0.1-Dufour
|
Node is a class used by Line3D. More...
#include <Node.h>
Public Member Functions | |
Node () | |
Node (const Node &n) | |
~Node () | |
Node & | operator= (const Node &n) |
Node * | getNext () const |
Returns a pointer to the next element in the linked list. | |
Point3D * | getPoint () const |
Returns a pointer to the Point3D object associated with the node. | |
void | setNext (Node *n) |
Sets the pointer to the next node. | |
void | setPoint (Point3D *p) |
Sets a new pointer to an associated Point3D object. |
Protected Attributes | |
Point3D * | mPoint |
Pointer to the Point3D object associated with the node. | |
Node * | mNext |
Pointer to the next Node in the linked list. |
Node is a class used by Line3D.
It represents a node in the single directed linked list. Associated Point3D objects are deleted when the node is deleted.
Node::Node | ( | const Node & | n | ) |
|
inline |
|
inline |
Returns a pointer to the Point3D object associated with the node.
Definition at line 60 of file Node.h.
References mPoint.
Referenced by Line3D::getPoint().
|
inline |
|
inline |
|
protected |
|
protected |
Pointer to the Point3D object associated with the node.
Definition at line 27 of file Node.h.
Referenced by getPoint(), and setPoint().