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

#include <MBbox.h>

Public Member Functions

constexpr MPointF ()
 
constexpr MPointF (float x, float y)
 
MPointFoperator+= (const MPointF &other) noexcept
 

Public Attributes

float x
 
float y
 

Detailed Description

Definition at line 10 of file MBbox.h.

Constructor & Destructor Documentation

◆ MPointF() [1/2]

mmind::dl::MPointF::MPointF ( )
inlineconstexpr

Definition at line 15 of file MBbox.h.

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

◆ MPointF() [2/2]

mmind::dl::MPointF::MPointF ( float x,
float y )
inlineconstexpr

Definition at line 17 of file MBbox.h.

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

Member Function Documentation

◆ operator+=()

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

Definition at line 19 of file MBbox.h.

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

Member Data Documentation

◆ x

float mmind::dl::MPointF::x

Definition at line 12 of file MBbox.h.

◆ y

float mmind::dl::MPointF::y

Definition at line 13 of file MBbox.h.


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