00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef OSDL_BOUNDING_BOX_2D_H_
00028 #define OSDL_BOUNDING_BOX_2D_H_
00029
00030
00031
00032 #include "OSDLBoundingBox.h"
00033
00034 #include "Ceylan.h"
00035
00036 #include <string>
00037 #include <list>
00038
00039
00040
00041
00042 namespace OSDL
00043 {
00044
00045
00046
00047 namespace Engine
00048 {
00049
00050
00051
00066 class OSDL_DLL BoundingBox2D : public BoundingBox,
00067 public Ceylan::Locatable2D
00068 {
00069
00070
00071 public:
00072
00073
00074
00088 explicit BoundingBox2D( Ceylan::Locatable2D & father,
00089 const Ceylan::Maths::Linear::Bipoint & center ) ;
00090
00091
00092
00097 virtual ~BoundingBox2D() throw() ;
00098
00099
00100
00113 virtual const std::string toString(
00114 Ceylan::VerbosityLevels level = Ceylan::high ) const ;
00115
00116
00117
00118
00119 protected:
00120
00121
00122
00136 static BoundingBox2D & CheckIs2D( BoundingBox & box ) ;
00137
00138
00139
00140
00141 private:
00142
00143
00144
00153 explicit BoundingBox2D( const BoundingBox2D & source ) ;
00154
00155
00156
00165 BoundingBox2D & operator= ( const BoundingBox2D & source ) ;
00166
00167
00168
00169 } ;
00170
00171
00172 }
00173
00174 }
00175
00176
00177
00178 #endif // OSDL_BOUNDING_BOX_2D_H_
00179