00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef _BBOX_H
00013 #define _BBOX_H
00014
00015 #include "Point.h"
00016
00017
00018 namespace columbia
00019 {
00020 struct TriangleMesh ;
00021
00022 struct BBox
00023 {
00024 Point min, max, center;
00025 BBox() { };
00026
00027 BBox(TriangleMesh const&);
00028 } ;
00029
00030 inline ostream& operator<<(ostream& os, BBox const& bbox)
00031 {
00032 return os << bbox.min << endl << bbox.max << endl;
00033 }
00034
00035 }
00036
00037
00038 #endif