AnimatLab  2
Test
BoundingBox.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace AnimatSim
10 {
17  class ANIMAT_PORT BoundingBox
18  {
19  public:
21  CStdFPoint Min;
22 
24  CStdFPoint Max;
25 
26  BoundingBox(void);
27  ~BoundingBox(void);
28 
38  void Set(CStdFPoint &vMin, CStdFPoint &vMax);
39 
53  void Set(float MinX, float MinY, float MinZ, float MaxX, float MaxY, float MaxZ);
54 
63  float Length();
64 
73  float Width();
74 
83  float Height();
84 
95  float GetDimensionSize(int iAxis);
96 
105  float MaxDimension();
106 
115  void operator=(const BoundingBox &oBox);
116  };
117 
118 }//end namespace AnimatSim
Root namespace for the base simulation library for AnimatLab.
CStdFPoint Min
A vertex with the minimum widths of the bounding box.
Definition: BoundingBox.h:21
Bounding box class for geometric objects.
Definition: BoundingBox.h:17
CStdFPoint Max
A vertex with the maximum widths of the bounding box.
Definition: BoundingBox.h:24