spc[2]=1;
_pathsize = _mContourModel->GetPathSize( spc );
-
//printf("\nPATH SIZE = %f",_pathsize);
-
- std::ofstream file1;
- file1.open( "4_SplinePoints.txt" );
-
- for(int i = 0; i < numspline; i++){
- file1<<"X= "<<_chargecontrolpointsX[i] << "\tY= "<<_chargecontrolpointsY[i] << "\tZ= "<<_chargecontrolpointsZ[i]<<std::endl;
- }
- file1.close();
- }
+//EED 2020-03-31
+// std::ofstream file1;
+// file1.open( "4_SplinePoints.txt" );
+// for(int i = 0; i < numspline; i++)
+// {
+// file1<<"X= "<<_chargecontrolpointsX[i] << "\tY= "<<_chargecontrolpointsY[i] << "\tZ= "<<_chargecontrolpointsZ[i]<<std::endl;
+// } // for i
+// file1.close();
+
+ } // if size
}
//Given the coordinates of two points, it calculates the slope
//DELETE!!
- std::ofstream file1;
- file1.open( "1_Intersection.txt" );
-
- for(int i = 0; i < (int)(_intercircleX.size()); i++){
- file1<<"X= "<<_intercircleX[i] << "\tY= "<<_intercircleY[i] << "\tDist= "<<_intercircleDist[i]<<std::endl;
- }
- file1.close();
+//EED 2020-03-31
+// std::ofstream file1;
+// file1.open( "1_Intersection.txt" );
+// for(int i = 0; i < (int)(_intercircleX.size()); i++)
+// {
+// file1<<"X= "<<_intercircleX[i] << "\tY= "<<_intercircleY[i] << "\tDist= "<<_intercircleDist[i]<<std::endl;
+// } // for i
+// file1.close();
-
delete vecf;
}
//-----------------------------------------------------------------------------------------------------------------------------------------
}
vecf->copyVector(&tempZ,&_controlpointsZ);
-//JCP 26-09-08
- std::ofstream file1;
- file1.open( "2_MaxMin.txt" );
+//EED 2020-03-31
+////JCP 26-09-08
+// std::ofstream file1;
+// file1.open( "2_MaxMin.txt" );
+// for(int i = 0; i < (int)(_controlpointsX.size()); i++)
+// {
+// file1<<"X= "<<_controlpointsX[i] << "\tY= "<<_controlpointsY[i] << "\tZ= "<<_controlpointsZ[i]<<std::endl;
+// } // for i
+// file1.close();
+////JCP 26-09-08
- for(int i = 0; i < (int)(_controlpointsX.size()); i++){
- file1<<"X= "<<_controlpointsX[i] << "\tY= "<<_controlpointsY[i] << "\tZ= "<<_controlpointsZ[i]<<std::endl;
- }
- file1.close();
-//JCP 26-09-08
delete vecf;
}
//-----------------------------------------------------------------------------------------------------------------------------------------
vecf->copyVector(&tempY,&_controlpointsY);
vecf->copyVector(&tempZ,&_controlpointsZ);
- std::ofstream file1;
- file1.open( "3_PointsFixed.txt" );
-
- for(int i = 0; i < (int)(_controlpointsX.size()); i++){
- file1<<"X= "<<_controlpointsX[i] << "\tY= "<<_controlpointsY[i] << "\tZ= "<<_controlpointsZ[i]<<std::endl;
- }
- file1.close();
+//EED 2020-03-31
+// std::ofstream file1;
+// file1.open( "3_PointsFixed.txt" );
+// for(int i = 0; i < (int)(_controlpointsX.size()); i++)
+// {
+// file1<<"X= "<<_controlpointsX[i] << "\tY= "<<_controlpointsY[i] << "\tZ= "<<_controlpointsZ[i]<<std::endl;
+// } // for i
+// file1.close();
delete vecf;
}