| 88 |
|
#endif |
| 89 |
|
} |
| 90 |
|
|
| 91 |
+ |
HullFinder::~HullFinder() { |
| 92 |
+ |
delete surfaceMesh_; |
| 93 |
+ |
} |
| 94 |
+ |
|
| 95 |
|
OpenMDBitSet HullFinder::findHull() { |
| 96 |
|
Snapshot* currSnapshot = info_->getSnapshotManager()->getCurrentSnapshot(); |
| 97 |
|
OpenMDBitSet bsResult(nStuntDoubles_); |
| 101 |
|
sprintf( painCave.errMsg, |
| 102 |
|
"HullFinder : Hull calculation is not possible without libqhull.\n" |
| 103 |
|
"\tPlease rebuild OpenMD with qhull enabled."); |
| 104 |
< |
painCave.severity = OPENMD_ERROR; |
| 105 |
< |
painCave.isFatal = 1; |
| 106 |
< |
simError(); |
| 104 |
> |
painCave.severity = OPENMD_ERROR; |
| 105 |
> |
painCave.isFatal = 1; |
| 106 |
> |
simError(); |
| 107 |
|
#endif |
| 108 |
|
|
| 109 |
|
std::vector<Triangle> sMesh = surfaceMesh_->getMesh(); |