ENH: boundBox volume function.

This commit is contained in:
graham
2010-11-04 16:49:47 +00:00
parent ff473b9833
commit 9b1788ac85

View File

@ -152,6 +152,12 @@ public:
return ::Foam::mag(max_ - min_);
}
//- The volume of the bound box
scalar volume() const
{
return cmptProduct(span());
}
//- Smallest length/height/width dimension
scalar minDim() const
{