Defines the point structure used by the framework. More...
#include <MAT300API.h>
Public Member Functions | |
| IntPoint () | |
| Default constructor. | |
| IntPoint (int X, int Y) | |
| Constructor taking x and y components. | |
Public Attributes | |
| int | x |
| x component | |
| int | y |
| y component | |
Defines the point structure used by the framework.
Do note that the framework uses points with integer components. Interpolation of curves should not use integer calculations...
| IntPoint::IntPoint | ( | ) | [inline] |
Default constructor.
Constructs a point a the origin (0, 0)
| IntPoint::IntPoint | ( | int | X, | |
| int | Y | |||
| ) | [inline] |
Constructor taking x and y components.
| int IntPoint::x |
x component
| int IntPoint::y |
y component
1.6.2