1 #include "manualContourModelLine.h"
3 // ----------------------------------------------------------------------------
4 // ----------------------------------------------------------------------------
5 // ----------------------------------------------------------------------------
9 manualContourModelLine::manualContourModelLine()
10 : manualContourModel()
12 SetNumberOfPointsSpline(20);
13 this->SetCloseContour(false);
16 manualContourModelLine::~manualContourModelLine()
21 // ----------------------------------------------------------------------------
22 manualContourModelLine * manualContourModelLine :: Clone() // virtual
24 manualContourModelLine * clone = new manualContourModelLine();
25 CopyAttributesTo(clone);
29 // ---------------------------------------------------------------------------
31 void manualContourModelLine::CopyAttributesTo( manualContourModelLine * cloneObject)
33 manualContourModel::CopyAttributesTo(cloneObject);
36 //----------------------------------------------------------------
37 int manualContourModelLine::GetTypeModel() //virtual
43 //----------------------------------------------------------------
45 void manualContourModelLine::GetSpline_i_Point(int i, double *x, double *y, double *z) // virtual
47 int np = GetSizeLstPoints();
57 mp = GetManualPoint(0);
68 mp = GetManualPoint(0);
72 mp = GetManualPoint(1);