[AI] Cursor for iterating MxPoint16List.
MxPoint16ListCursor(MxPoint16List *p_list)
[AI] Construct for a given list.
[AI] List class for pointers to MxPoint16.
MxPoint16List(MxBool p_ownership)
[AI] Construct with ownership flag.
[AI] 2D point with 16-bit signed integer coordinates.
MxPoint16()
[AI] Default constructor.
MxPoint16(const MxPoint16 &p_p)
[AI] Copy constructor.
MxPoint16(MxS16 p_x, MxS16 p_y)
[AI] Constructor with explicit coordinates.
[AI] Cursor for iterating MxPoint32List.
MxPoint32ListCursor(MxPoint32List *p_list)
[AI] Construct for a given list.
[AI] List class for pointers to MxPoint32.
MxPoint32List(MxBool p_ownership)
[AI] Construct with ownership flag.
[AI] 2D point with 32-bit signed integer coordinates.
MxPoint32(const MxPoint32 &p_p)
[AI] Copy constructor.
MxPoint32()
[AI] Default constructor.
MxPoint32(MxS32 p_x, MxS32 p_y)
[AI] Constructor with explicit coordinates.
[AI] 2D point class templated on its coordinate type.
MxPoint()
[AI] Default constructor, does not initialize coordinates.
void SetY(T p_y)
[AI] Set Y coordinate.
MxPoint(const MxPoint &p_p)
[AI] Copy constructor.
MxPoint(T p_x, T p_y)
[AI] Constructor with explicit coordinates.
MxPoint operator+(const MxPoint &p_p) const
[AI] Add another point, returning the result.
T GetY() const
[AI] Get Y coordinate.
MxPoint operator-(const MxPoint &p_p) const
[AI] Subtract another point, returning the result.
void SetX(T p_x)
[AI] Set X coordinate.
T GetX() const
[AI] Get X coordinate.
void operator-=(const MxPoint &p_p)
[AI] Subtract another point's coordinates from this point.
void operator+=(const MxPoint &p_p)
[AI] Add another point's coordinates to this point.
[AI] Cursor for iterating lists of MxRect16 pointers.
MxRect16ListCursor(MxRect16List *p_list)
[AI] Construct for a given list.
[AI] List for pointers to MxRect16 rectangles.
MxRect16List(MxBool p_ownership)
[AI] Construct with ownership flag.
[AI] Rectangle using 16-bit signed integer coordinates.
MxRect16(const MxRect16 &p_r)
[AI] Copy constructor.
MxRect16(MxS16 p_l, MxS16 p_t, MxS16 p_r, MxS16 p_b)
[AI] Constructor from coordinates.
MxRect16(MxPoint16 &p_p, MxSize16 &p_s)
[AI] Construct a rectangle from point and size.
MxRect16()
[AI] Default constructor.
[AI] Cursor for iterating lists of MxRect32 pointers.
MxRect32ListCursor(MxRect32List *p_list)
[AI] Construct for a given list.
[AI] List for pointers to MxRect32 rectangles.
MxRect32List(MxBool p_ownership)
[AI] Construct with ownership.
[AI] Rectangle using 32-bit signed integer coordinates.
MxRect32(MxPoint32 &p_p, MxSize32 &p_s)
[AI] Construct using MxPoint32 and MxSize32.
MxRect32()
[AI] Default constructor.
MxRect32(MxS32 p_l, MxS32 p_t, MxS32 p_r, MxS32 p_b)
[AI] Construct from explicit coordinates.
MxRect32(const MxRect32 &p_r)
[AI] Copy constructor.
[AI] 2D rectangle class templated on its value type.
void SetLeft(T p_left)
[AI] Set the left edge.
MxBool Empty() const
[AI] Returns whether the rectangle is empty or not.
MxRect()
[AI] Default constructor, does not initialize rectangle.
MxRect operator&(const MxRect &p_r) const
[AI] Returns the intersection of this rectangle and another.
T GetTop() const
[AI] Get the top edge.
MxBool operator==(const MxRect &p_r) const
[AI] Equality operator.
MxBool Contains(const MxPoint< T > &p_p) const
[AI] Test whether a point is inside the rectangle (inclusive).
void operator+=(const MxPoint< T > &p_p)
[AI] Translate the rectangle by a point, in-place.
MxBool Intersects(const MxRect &p_r) const
[AI] Returns whether this rectangle intersects another.
MxBool operator!=(const MxRect &p_r) const
[AI] Inequality operator.
void operator=(const MxRect &p_r)
[AI] Assignment operator.
T GetWidth() const
[AI] Get the rectangle's width.
MxRect(const MxRect &p_r)
[AI] Copy constructor.
void SetBottom(T p_bottom)
[AI] Set the bottom edge.
void operator|=(const MxRect &p_r)
[AI] Unites this rectangle with another in-place.
MxRect operator-(const MxPoint< T > &p_p) const
[AI] Returns a translated rectangle (by negative).
MxPoint< T > GetRB() const
[AI] Get the bottom-right point of the rectangle.
T GetRight() const
[AI] Get the right edge.
void operator-=(const MxPoint< T > &p_p)
[AI] Translate the rectangle by the negative of a point, in-place.
T GetHeight() const
[AI] Get the rectangle's height.
MxRect(const MxPoint< T > &p_p, const MxSize< T > &p_s)
[AI] Construct from point and size.
MxRect(T p_l, T p_t, T p_r, T p_b)
[AI] Construct from coordinates.
T GetLeft() const
[AI] Get the left edge.
void SetTop(T p_top)
[AI] Set the top edge.
MxRect operator+(const MxPoint< T > &p_p) const
[AI] Returns a translated rectangle.
T m_right
[AI] Right edge (maximum x).
T GetBottom() const
[AI] Get the bottom edge.
T m_left
[AI] Left edge (minimum x).
T m_bottom
[AI] Bottom edge (maximum y).
void operator&=(const MxRect &p_r)
[AI] Intersect rectangle in-place with another.
MxPoint< T > GetLT() const
[AI] Get the top-left point of the rectangle.
void SetRight(T p_right)
[AI] Set the right edge.
MxRect operator|(const MxRect &p_r) const
[AI] Returns the bounding rectangle (union) of this and another.
T m_top
[AI] Top edge (minimum y).
[AI] Cursor for iterating MxSize16List.
MxSize16ListCursor(MxSize16List *p_list)
[AI] Construct for a given list.
[AI] List class for pointers to MxSize16.
MxSize16List(MxBool p_ownership)
[AI] Construct with ownership flag.
[AI] Size with 16-bit signed integer width and height.
MxSize16(MxS16 p_width, MxS16 p_height)
[AI] Constructor with specified width and height.
MxSize16(const MxSize16 &p_s)
[AI] Copy constructor.
MxSize16()
[AI] Default constructor.
[AI] Cursor for iterating MxSize32List.
MxSize32ListCursor(MxSize32List *p_list)
[AI] Construct for a given list.
[AI] List class for pointers to MxSize32.
MxSize32List(MxBool p_ownership)
[AI] Construct with ownership flag.
[AI] Size with 32-bit signed integer width and height.
MxSize32(const MxSize32 &p_s)
[AI] Copy constructor.
MxSize32(MxS32 p_width, MxS32 p_height)
[AI] Constructor with specified width and height.
MxSize32()
[AI] Default constructor.
[AI] 2D size class templated on its value type.
void SetHeight(T p_height)
[AI] Set the height.
MxSize()
[AI] Default constructor, does not initialize size.
void SetWidth(T p_width)
[AI] Set the width.
T GetHeight() const
[AI] Get the height.
T GetWidth() const
[AI] Get the width.
MxSize(T p_width, T p_height)
[AI] Constructor with explicit width and height.
MxSize(const MxSize &p_s)
[AI] Copy constructor.
T Max(T p_t1, T p_t2)
[AI] Returns the maximum of two values.
T Min(T p_t1, T p_t2)
[AI] Returns the minimum of two values.