#include "functions.h" using namespace std; using namespace Qwt3D; void createCone(Qwt3D::TripleField& conepos, Qwt3D::CellField& conecell) { conepos.clear(); conecell.clear(); Cell cell; conepos.push_back(Triple(0,0,0)); const unsigned int count = 17; double r1 = 0.7; double r2 = 0.9 * r1; double h1 = 2; double h2 = 1.03 * h1; unsigned i; Cell c1; // outer top border for (i=0; i