mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
- update methods of existing classes - add comment to methods missing in the sip bindings - split up collective sip files into single files and use same directory structure in python/ as in src/ - add a lot of missing classes (some might not make sense because of missing python methods in those classes) - remove some non-existing methods from the header files - add scripts/sipdiff - replace some usages of std::vector and std::set with QVector/QSet
26 lines
818 B
Plaintext
26 lines
818 B
Plaintext
class Line3D /NoDefaultCtors/
|
|
{
|
|
%TypeHeaderCode
|
|
#include <Line3D.h>
|
|
%End
|
|
public:
|
|
Line3D();
|
|
~Line3D();
|
|
/**returns true, if the Line contains no Point3D, otherwise false*/
|
|
bool empty() const;
|
|
/**inserts a node behind the current position and sets the current position to this new node*/
|
|
void insertPoint( Point3D* p );
|
|
/**removes the point behind the current position*/
|
|
void removePoint();
|
|
/**gets the point at the current position*/
|
|
Point3D* 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();
|
|
};
|