do not check for solid when computing volume of mesh

This commit is contained in:
wmayer
2016-10-01 20:40:26 +02:00
parent d808f669ce
commit 3de44dfcd7

View File

@@ -982,9 +982,9 @@ float MeshKernel::GetSurface( const std::vector<unsigned long>& aSegment ) const
float MeshKernel::GetVolume() const
{
MeshEvalSolid cSolid(*this);
if ( !cSolid.Evaluate() )
return 0.0f; // no solid
//MeshEvalSolid cSolid(*this);
//if ( !cSolid.Evaluate() )
// return 0.0f; // no solid
float fVolume = 0.0;
MeshFacetIterator cIter(*this);