From ef69bc6c61d7002cbe7de3b86eb78edee1625327 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 5 Jun 2008 13:05:55 +0100 Subject: [PATCH] bounding box incorrect --- src/triSurface/triSurface/triSurface.C | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/triSurface/triSurface/triSurface.C b/src/triSurface/triSurface/triSurface.C index 265b08d9c8..a3f7fec879 100644 --- a/src/triSurface/triSurface/triSurface.C +++ b/src/triSurface/triSurface/triSurface.C @@ -1214,7 +1214,11 @@ void triSurface::writeStats(Ostream& os) const { // Calculate bounding box without any additional addressing // Copy of treeBoundBox code. Cannot use meshTools from triSurface... - boundBox bb; + boundBox bb + ( + point(VGREAT, VGREAT, VGREAT), + point(-VGREAT, -VGREAT, -VGREAT) + ); forAll(*this, triI) { const labelledTri& f = operator[](triI);