1 #include "VectorMath.h"
3 VectorMath::VectorMath()
5 //_math = vtkMath::new();
8 VectorMath::~VectorMath()
10 if (_math != NULL ) { _math->Delete(); }
13 void VectorMath::SetData(std::vector<int> pointsX1, std::vector<int> pointsX2, std::vector<int> pointsY1, std::vector<int> pointsY2, std::vector<int> pointsZ1, std::vector<int> pointsZ2)
15 _pointx1a = pointsX1[0];
16 _pointx1b = pointsX1[1];
18 _pointx2a = pointsX2[0];
19 _pointx2b = pointsX2[1];
21 _pointy1a = pointsY1[0];
22 _pointy1b = pointsY1[1];
24 _pointy2a = pointsY2[0];
25 _pointy2b = pointsY2[1];
27 _pointz1a = pointsZ1[0];
28 _pointz1b = pointsZ1[1];
30 _pointz2a = pointsZ2[0];
31 _pointz2b = pointsZ2[1];
35 int[3]* VectorMath::GetPoints()
40 double[3]* VectorMath::GetScales()
45 double VectorMath::GetAngle()