]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/kernel/include/marLine.h
9f4884e3611550dea3c2033f3ad0eb32714bcc1d
[creaMaracasVisu.git] / lib / maracasVisuLib / src / kernel / include / marLine.h
1 // marLine.h: interface for the marLine class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #ifndef __marLine_h
6 #define __marLine_h
7
8 class marLine  
9 {
10 public:
11         marLine();
12         marLine(double x1, double y1, double x2, double y2);
13         marLine(double a, double b);
14         void getNormal(double *a, double *b);
15         void getIntersect(double a, double b, double c, double *x, double *y);
16         double getA();
17         double getB();
18         double getC();
19         virtual ~marLine();
20
21 private:
22         double a;
23         double b;
24         double c;
25 };
26
27 #endif // !defined(AFX_MARLINE_H__28F8F1C4_E5F2_48C7_94E0_3C8BEA226D06__INCLUDED_)