Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csPoint Struct Reference
[Geometry utilities]
A 2D point object.
More...
#include <csgeom/cspoint.h>
Public Member Functions | |
csPoint () | |
Constructor: initialize the object with zeros. | |
csPoint (int iX, int iY) | |
Constructor: initialize the object with given values. | |
csPoint (const csPoint &v) | |
Constructor: initialize the object by copying. | |
void | Set (int iX, int iY) |
Set the coordinates of this point. | |
void | Set (csPoint &v) |
Set the coordinates of this point from another point. | |
Public Attributes | |
int | x |
The coordinates of the point. | |
int | y |
The coordinates of the point. |
Detailed Description
A 2D point object.
Definition at line 34 of file cspoint.h.
Constructor & Destructor Documentation
|
Constructor: initialize the object with zeros.
|
|
Constructor: initialize the object with given values.
|
|
Constructor: initialize the object by copying.
|
Member Function Documentation
|
Set the coordinates of this point from another point.
|
|
Set the coordinates of this point.
|
Member Data Documentation
|
The coordinates of the point.
Definition at line 37 of file cspoint.h. Referenced by Set(). |
|
The coordinates of the point.
Definition at line 37 of file cspoint.h. Referenced by Set(). |
The documentation for this struct was generated from the following file:
- csgeom/cspoint.h
Generated for Crystal Space by doxygen 1.3.9.1