r2088: *** empty log message ***
[ctsim.git] / libctsim / phantom.cpp
index dff1d0ee6bcc137ab1257d31d828921ffc937f96..8d02d1115865e206c90e49e28f58f4ab8d518b33 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: phantom.cpp,v 1.30 2001/02/27 03:59:30 kevin Exp $
+**  $Id: phantom.cpp,v 1.32 2002/05/28 18:43:16 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -28,7 +28,8 @@
 #include "ct.h"
 
 const int PhantomElement::POINTS_PER_CIRCLE = 360;
-const double PhantomElement::SCALE_PELEM_EXTENT=0.005;  // increase pelem limits by 0.5% 
+const double PhantomElement::SCALE_PELEM_EXTENT=0.000;  // increase pelem limits by 0.5% 
+//const double PhantomElement::SCALE_PELEM_EXTENT=0.005;  // increase pelem limits by 0.5% 
 
 const int Phantom::PHM_INVALID = -1;
 const int Phantom::PHM_HERMAN = 0;
@@ -216,7 +217,7 @@ Phantom::createFromFile (const char* const fname)
 bool
 Phantom::fileWrite (const char* const fname)
 {
-  fstream file (fname, ios::out);
+  fstream file (fname, std::ios::out);
   
   if (! file.fail())
     printDefinitions (file);