#include #include #include #include "sphere.h" #include "cylinder.h" #include "hollow_sphere.h" #include "ellipsoid.h" #include "single_helix.h" #include "iq.h" using namespace std; void TestGetFormFactor_sphere() { Sphere sphere(1.0); IQ iq1(10,0.001, 0.3); sphere.GetFormFactor(&iq1); for (int i = 0; i< iq1.iq_data.dim1(); i++) cout << iq1.iq_data[i][0]<< " " << iq1.iq_data[i][1] < ori; ori.push_back(10); ori.push_back(10); ori.push_back(20); vector cen; cen.push_back(20); cen.push_back(20); cen.push_back(20); p1.Transform(ori,cen); cout << "is the p1 still inside after orientation?" << c1.IsInside(p1) << endl; cout << "p1 p2 distance: " <