--- trunk/src/math/ConvexHull.hpp 2013/06/18 17:47:37 1886 +++ trunk/src/math/ConvexHull.hpp 2015/02/20 15:12:07 2056 @@ -71,7 +71,7 @@ namespace OpenMD { void computeHull( std::vector bodydoubles ); /* Total area of Hull*/ - RealType getArea(){return area_;} + RealType getArea(){ return area_;} /* Total Volume enclosed by Hull */ RealType getVolume(){ return volume_; } @@ -80,12 +80,14 @@ namespace OpenMD { void printHull(const std::string& geomFileName); protected: - RealType volume_; - RealType area_; - int dim_; const std::string options_; + int dim_; private: + // These variables are private so that each new hull returns + // information about itself. + RealType volume_; + RealType area_; std::vector Triangles_; }; }