|
Quantum GIS API Documentation
1.8
|
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 | ( | ) | [inline] |
| Node::Node | ( | const Node & | n | ) |
| Node::~Node | ( | ) | [inline] |
| Node * Node::getNext | ( | ) | const [inline] |
| Point3D * Node::getPoint | ( | ) | const [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().
| void Node::setNext | ( | Node * | n | ) | [inline] |
| void Node::setPoint | ( | Point3D * | p | ) | [inline] |
Node* Node::mNext [protected] |
Point3D* Node::mPoint [protected] |
Pointer to the Point3D object associated with the node.
Definition at line 27 of file Node.h.
Referenced by getPoint(), and setPoint().
1.7.6.1