--- trunk/src/math/AlphaHull.hpp 2013/06/18 17:47:37 1886 +++ trunk/src/math/AlphaHull.hpp 2015/02/20 15:12:07 2056 @@ -60,7 +60,6 @@ #include #include -using namespace std; namespace OpenMD { class AlphaHull : public Hull { public: @@ -68,7 +67,7 @@ namespace OpenMD { AlphaHull(RealType alpha); virtual ~AlphaHull(){}; - void computeHull( vector bodydoubles ); + void computeHull( std::vector bodydoubles ); /* Total area of Hull*/ RealType getArea(){ return area_; } @@ -80,14 +79,17 @@ namespace OpenMD { void printHull(const std::string& geomFileName); protected: - RealType volume_; - RealType area_; int dim_; RealType alpha_; const std::string options_; private: - vector Triangles_; + // These variables are private so that each new hull returns + // information about itself. + RealType volume_; + RealType area_; + std::vector Triangles_; + }; } #endif