Isle
Loading...
Searching...
No Matches
MxPoint32 Class Reference

[AI] 2D point with 32-bit signed integer coordinates. More...

#include <mxgeometry.h>

Inheritance diagram for MxPoint32:
Collaboration diagram for MxPoint32:

Public Member Functions

 MxPoint32 ()
 [AI] Default constructor. More...
 
 MxPoint32 (const MxPoint32 &p_p)
 [AI] Copy constructor. More...
 
 MxPoint32 (MxS32 p_x, MxS32 p_y)
 [AI] Constructor with explicit coordinates. More...
 
- Public Member Functions inherited from MxPoint< MxS32 >
 MxPoint ()
 [AI] Default constructor, does not initialize coordinates. More...
 
 MxPoint (const MxPoint &p_p)
 [AI] Copy constructor. More...
 
 MxPoint (MxS32 p_x, MxS32 p_y)
 [AI] Constructor with explicit coordinates. More...
 
MxS32 GetX () const
 [AI] Get X coordinate. More...
 
MxS32 GetY () const
 [AI] Get Y coordinate. More...
 
void SetX (MxS32 p_x)
 [AI] Set X coordinate. More...
 
void SetY (MxS32 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

- Protected Attributes inherited from MxPoint< MxS32 >
MxS32 m_x
 [AI] X coordinate. More...
 
MxS32 m_y
 [AI] Y coordinate. More...
 

Detailed Description

[AI] 2D point with 32-bit signed integer coordinates.

[AI] Used for large coordinate spaces with 32-bit precision.

Definition at line 487 of file mxgeometry.h.

Constructor & Destructor Documentation

◆ MxPoint32() [1/3]

MxPoint32::MxPoint32 ( )
inline

[AI] Default constructor.

Definition at line 492 of file mxgeometry.h.

◆ MxPoint32() [2/3]

MxPoint32::MxPoint32 ( const MxPoint32 p_p)
inline

[AI] Copy constructor.

Parameters
p_p[AI] Point to copy.

Definition at line 498 of file mxgeometry.h.

◆ MxPoint32() [3/3]

MxPoint32::MxPoint32 ( MxS32  p_x,
MxS32  p_y 
)
inline

[AI] Constructor with explicit coordinates.

Parameters
p_x[AI] X coordinate.
p_y[AI] Y coordinate.

Definition at line 505 of file mxgeometry.h.


The documentation for this class was generated from the following file: