| 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_; } |
| 78 |
|
|
| 79 |
– |
/* Bounding Box for Hull sites */ |
| 80 |
– |
Mat3x3d getBoundingBox(){ return boundingBox_; } |
| 81 |
– |
|
| 79 |
|
std::vector<Triangle> getMesh(){return Triangles_;} |
| 80 |
|
void printHull(const std::string& geomFileName); |
| 81 |
|
|
| 82 |
|
protected: |
| 86 |
– |
RealType volume_; |
| 87 |
– |
RealType area_; |
| 88 |
– |
Mat3x3d boundingBox_; |
| 89 |
– |
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 |
|
} |