Matthias Kuhn 0f2a49d9b5 Remove Point3D
... in favor of QgsPoint
Reference https://github.com/qgis/qgis3.0_api/issues/71
2017-06-03 08:20:30 +02:00

26 lines
829 B
Plaintext

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