Mech-DLK SDK (C#) 3.0.0
Mech-DLK SDK (C#) Reference Documentation
 
Loading...
Searching...
No Matches
Mmind::Dl::MPoint Struct Reference

Point with integer coordinates. More...

#include <DataStructures.h>

Public Member Functions

 MPoint (int x, int y)
 

Static Public Member Functions

static MPoint operator+ (MPoint p1, MPoint p2)
 

Public Attributes

int x
 
int y
 

Detailed Description

Point with integer coordinates.

Definition at line 15 of file DataStructures.h.

Constructor & Destructor Documentation

◆ MPoint()

Mmind::Dl::MPoint::MPoint ( int x,
int y )
inline

Definition at line 20 of file DataStructures.h.

Member Function Documentation

◆ operator+()

static MPoint Mmind::Dl::MPoint::operator+ ( MPoint p1,
MPoint p2 )
inlinestatic

Definition at line 22 of file DataStructures.h.

23 {
24 return MPoint(p1.x + p2.x, p1.y + p2.y);
25 }
MPoint(int x, int y)

Member Data Documentation

◆ x

int Mmind::Dl::MPoint::x

Definition at line 17 of file DataStructures.h.

◆ y

int Mmind::Dl::MPoint::y

Definition at line 18 of file DataStructures.h.


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