26 lines
826 B
Plaintext
Raw Normal View History

class Line3D /NoDefaultCtors/
{
%TypeHeaderCode
#include <Line3D.h>
%End
public:
Line3D();
~Line3D();
2015-07-29 11:52:14 +02:00
/** Returns true, if the Line contains no Point3D, otherwise false*/
bool empty() const;
2015-07-29 11:52:14 +02:00
/** Inserts a node behind the current position and sets the current position to this new node*/
void insertPoint( Point3D* p );
2015-07-29 11:52:14 +02:00
/** Removes the point behind the current position*/
void removePoint();
2015-07-29 11:52:14 +02:00
/** Gets the point at the current position*/
Point3D* getPoint() const;
2015-07-29 11:52:14 +02:00
/** Returns the current position*/
unsigned int getCurrent() const;
2015-07-29 11:52:14 +02:00
/** Returns the size of the line (the numbero of inserted Nodes without 'head' and 'z'*/
unsigned int getSize() const;
2015-07-29 11:52:14 +02:00
/** Sets the current Node to head*/
void goToBegin();
2015-07-29 11:52:14 +02:00
/** Goes to the next Node*/
void goToNext();
};