Isle
|
[AI] 2D size class templated on its value type. More...
#include <mxgeometry.h>
Public Member Functions | |
MxSize () | |
[AI] Default constructor, does not initialize size. More... | |
MxSize (const MxSize &p_s) | |
[AI] Copy constructor. More... | |
MxSize (T p_width, T p_height) | |
[AI] Constructor with explicit width and height. More... | |
T | GetWidth () const |
[AI] Get the width. More... | |
T | GetHeight () const |
[AI] Get the height. More... | |
void | SetWidth (T p_width) |
[AI] Set the width. More... | |
void | SetHeight (T p_height) |
[AI] Set the height. More... | |
Protected Attributes | |
T | m_width |
[AI] Width. More... | |
T | m_height |
[AI] Height. More... | |
[AI] 2D size class templated on its value type.
[AI] Represents the width and height of a 2D object or region.
T | [AI] Underlying type for width/height (e.g., int, float, etc.) |
Definition at line 106 of file mxgeometry.h.
[AI] Default constructor, does not initialize size.
Definition at line 115 of file mxgeometry.h.
[AI] Copy constructor.
p_s | [AI] The size to copy. |
Definition at line 121 of file mxgeometry.h.
[AI] Constructor with explicit width and height.
p_width | [AI] Width value. |
p_height | [AI] Height value. |
Definition at line 131 of file mxgeometry.h.
|
inline |
[AI] Get the height.
Definition at line 144 of file mxgeometry.h.
|
inline |
[AI] Get the width.
Definition at line 139 of file mxgeometry.h.
|
inline |
[AI] Set the height.
p_height | [AI] New height. |
Definition at line 156 of file mxgeometry.h.
|
inline |
|
protected |
[AI] Height.
Definition at line 109 of file mxgeometry.h.
|
protected |
[AI] Width.
Definition at line 108 of file mxgeometry.h.