Detailed Description
- See also:
- Class Point2.
- Description:
- A 2D floating-point box class. This class has methods and
operators to clear the box, and update its size (bounding
rectangle) by specifying additional points. All methods of this
class are implemented by the system.
- Data Members:
- BOOL empty;
Indicates if the box is empty. When the += operator is used to
update the size of the box, if the box is empty, the box corners
are set to the point.
Point2 min,
max;
The corners of the 2D box.
#include <templt.h>
List of all members.
Constructor & Destructor Documentation
Member Function Documentation
void SetEmpty |
( |
|
) |
[inline] |
- Parameters:
- const Point2&
p
This box is expanded to include p.
Member Data Documentation
Box2D Box2D Box2D Box2D Box2D Box2D
Box2D Box2D Box2D Box2D
Box2D Box2D Box2D Box2D Box2D Box2D
Box2D Box2D Box2D Box2D