00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00023 #ifndef INCLUDE_LINEDOCK_H
00024 #define INCLUDE_LINEDOCK_H
00025
00026 #include "control.h"
00027 #include "dock.h"
00028
00029 #define DEFAULT_WIDTH 0.1
00030
00037 class LineDock : public Control
00038 {
00039 public:
00040 double width;
00041 double xDeb,yDeb,zDeb;
00042 double xFin,yFin,zFin;
00043
00044 LineDock()
00045 {
00046 width = DEFAULT_WIDTH;
00047 }
00048 ~LineDock()
00049 {
00050 }
00051
00052 void Set(double _xDeb,double _yDeb,double _zDeb,double _xFin,double _yFin,double _zFin,double width=-1)
00053 {
00054 xDeb=_xDeb;
00055 yDeb=_yDeb;
00056 zDeb=_zDeb;
00057 xFin=_xFin;
00058 yFin=_yFin;
00059 zFin=_zFin;
00060 if (width==-1) width = DEFAULT_WIDTH;
00061 }
00062 };
00063
00064 #endif