MarlinUtil  1.12.1
LineClass.h
1 #ifndef LINECLASS_H
2 #define LINECLASS_H
3 class LineClass {
4 
5  public:
6  LineClass(float x0,
7  float y0,
8  float z0,
9  float ax,
10  float ay,
11  float az);
12 
13  LineClass(float *x0,
14  float *ax);
15 
16  ~LineClass();
17 
18  float * getReferencePoint();
19  void setReferencePoint(float *x0);
20  float * getDirectionalVector();
21  void setDirectionalVector(float *ax);
22  float getDistanceToPoint(float * xpoint, float * pos);
23 
24  private:
25 
26  float _x0[3];
27  float _ax[3];
28 
29 
30 };
31 
32 #endif
Definition: LineClass.h:3