Mech-DLK SDK (C++) 3.0.0
Mech-DLK SDK (C++) Reference Documentation
 
Loading...
Searching...
No Matches
mmind::dl::MPoint Struct Reference

#include <MContour.h>

Public Member Functions

constexpr MPoint ()
 
constexpr MPoint (int x, int y)
 
MPointoperator+= (const MPoint &other) noexcept
 

Public Attributes

int x
 
int y
 

Detailed Description

Definition at line 10 of file MContour.h.

Constructor & Destructor Documentation

◆ MPoint() [1/2]

mmind::dl::MPoint::MPoint ( )
inlineconstexpr

Definition at line 15 of file MContour.h.

15: x(0), y(0) {}

◆ MPoint() [2/2]

mmind::dl::MPoint::MPoint ( int x,
int y )
inlineconstexpr

Definition at line 17 of file MContour.h.

17: x(x), y(y) {}

Member Function Documentation

◆ operator+=()

MPoint & mmind::dl::MPoint::operator+= ( const MPoint & other)
inlinenoexcept

Definition at line 19 of file MContour.h.

20 {
21 x += other.x;
22 y += other.y;
23 return *this;
24 }

Member Data Documentation

◆ x

int mmind::dl::MPoint::x

Definition at line 12 of file MContour.h.

◆ y

int mmind::dl::MPoint::y

Definition at line 13 of file MContour.h.


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