Commit 9b1788ac authored by graham's avatar graham
Browse files

ENH: boundBox volume function.

parent ff473b98
......@@ -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
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment