Isle
|
[AI] 2D point with 16-bit signed integer coordinates. More...
#include <mxgeometry.h>
Public Member Functions | |
MxPoint16 () | |
[AI] Default constructor. More... | |
MxPoint16 (const MxPoint16 &p_p) | |
[AI] Copy constructor. More... | |
MxPoint16 (MxS16 p_x, MxS16 p_y) | |
[AI] Constructor with explicit coordinates. More... | |
![]() | |
MxPoint () | |
[AI] Default constructor, does not initialize coordinates. More... | |
MxPoint (const MxPoint &p_p) | |
[AI] Copy constructor. More... | |
MxPoint (MxS16 p_x, MxS16 p_y) | |
[AI] Constructor with explicit coordinates. More... | |
MxS16 | GetX () const |
[AI] Get X coordinate. More... | |
MxS16 | GetY () const |
[AI] Get Y coordinate. More... | |
void | SetX (MxS16 p_x) |
[AI] Set X coordinate. More... | |
void | SetY (MxS16 p_y) |
[AI] Set Y coordinate. More... | |
void | operator+= (const MxPoint &p_p) |
[AI] Add another point's coordinates to this point. More... | |
void | operator-= (const MxPoint &p_p) |
[AI] Subtract another point's coordinates from this point. More... | |
MxPoint | operator+ (const MxPoint &p_p) const |
[AI] Add another point, returning the result. More... | |
MxPoint | operator- (const MxPoint &p_p) const |
[AI] Subtract another point, returning the result. More... | |
Additional Inherited Members | |
![]() | |
MxS16 | m_x |
[AI] X coordinate. More... | |
MxS16 | m_y |
[AI] Y coordinate. More... | |
[AI] 2D point with 16-bit signed integer coordinates.
[AI] Used for pixel or grid coordinates with 16-bit precision.
Definition at line 434 of file mxgeometry.h.
|
inline |
[AI] Default constructor.
Definition at line 439 of file mxgeometry.h.
|
inline |
[AI] Copy constructor.
p_p | [AI] Point to copy. |
Definition at line 445 of file mxgeometry.h.
[AI] Constructor with explicit coordinates.
p_x | [AI] X coordinate. |
p_y | [AI] Y coordinate. |
Definition at line 452 of file mxgeometry.h.