ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/math/ConvexHull.hpp
(Generate patch)

Comparing trunk/src/math/ConvexHull.hpp (file contents):
Revision 1886 by gezelter, Tue Jun 18 17:47:37 2013 UTC vs.
Revision 2056 by gezelter, Fri Feb 20 15:12:07 2015 UTC

# Line 71 | Line 71 | namespace OpenMD {
71      void computeHull( std::vector<StuntDouble*> bodydoubles );
72  
73      /* Total area of Hull*/
74 <    RealType getArea(){return area_;}
74 >    RealType getArea(){ return area_;}
75  
76      /* Total Volume enclosed by Hull */
77      RealType getVolume(){ return volume_; }
# Line 80 | Line 80 | namespace OpenMD {
80      void printHull(const std::string& geomFileName);
81  
82    protected:
83    RealType volume_;
84    RealType area_;
85    int dim_;
83      const std::string options_;
84 +    int dim_;
85      
86    private:
87 +    // These variables are private so that each new hull returns
88 +    // information about itself.
89 +    RealType volume_;
90 +    RealType area_;
91      std::vector<Triangle> Triangles_;
92    };
93   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines