#include #include #include "Point3D.h" using namespace std; int main(){ cout << "test 1:initialize a point, set orientation, set center" << " and perform transform" < orient(3),center(3); for (int i = 0; i!=3; ++i){ center[i] = 0; } orient[0]=10; orient[1]=0; orient[2]=30; apoint.Transform(orient,center); cout << apoint.getX() <<" "< rotmatrix(9,1); for (size_t i = 0; i != rotmatrix.size(); ++i){ cout << rotmatrix[i] <<" "; } Point3D pp(1,1,1); pp.TransformMatrix(rotmatrix, center); cout << pp.getX() <<" "<