boundingBox has mag() and span() methods - use them

This commit is contained in:
Mark Olesen
2008-12-31 17:58:23 +01:00
parent 172b862c47
commit dcc82bf77b
25 changed files with 106 additions and 123 deletions

View File

@ -220,7 +220,7 @@ Foam::label Foam::treeDataTriSurface::getVolumeType
max
(
Foam::sqr(GREAT),
Foam::magSqr(treeBb.max() - treeBb.min())
Foam::magSqr(treeBb.span())
)
);