File: Line3D.sip

package info (click to toggle)
qgis 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 374,696 kB
  • ctags: 66,263
  • sloc: cpp: 396,139; ansic: 241,070; python: 130,609; xml: 14,884; perl: 1,290; sh: 1,287; sql: 500; yacc: 268; lex: 242; makefile: 168
file content (25 lines) | stat: -rw-r--r-- 818 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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();
};