|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CRect Class ReferenceThis class describe an integer 2d rectangle.
More...
#include <rect.h>
List of all members.
Detailed Description
This class describe an integer 2d rectangle.
-
Author(s):
-
Cyril Corvazier , Nevrax France
-
Date:
-
2000
Definition at line 41 of file rect.h.
Constructor & Destructor Documentation
|
Constructor with a 2d point, a width and a height.
Definition at line 45 of file rect.h. |
|
Constructor with a single 2d point. Build a rectangle with width and height = 0.
Definition at line 54 of file rect.h. |
Member Function Documentation
sint32 NLMISC::CRect::bottom (
|
) [inline]
|
|
|
Extend the box for including the point which coordinates are passed in parameter.
Definition at line 32 of file rect.cpp. |
sint32 NLMISC::CRect::getXCenter (
|
) [inline]
|
|
|
Compute the x center of the rectangle.
Definition at line 90 of file rect.h. |
sint32 NLMISC::CRect::getYCenter (
|
) [inline]
|
|
|
Compute the y center of the rectangle.
Definition at line 96 of file rect.h. |
sint32 NLMISC::CRect::left (
|
) [inline]
|
|
|
Return the lower X coordinate of the box.
Definition at line 66 of file rect.h. |
sint32 NLMISC::CRect::right (
|
) [inline]
|
|
sint32 NLMISC::CRect::top (
|
) [inline]
|
|
|
Return the lower Y coordinate of the box.
Definition at line 78 of file rect.h. |
Member Data Documentation
|
Height of the rect.
Definition at line 111 of file rect.h. |
|
Width of the rect.
Definition at line 108 of file rect.h. |
|
Lower X coordinate of the rect.
Definition at line 102 of file rect.h. |
|
Lower Y coordinate of the rect.
Definition at line 105 of file rect.h. |
The documentation for this class was generated from the following files:
|
|