eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EIntPoint Struct Reference

EPoint whose coordinates are integers. More...

#include <eVision/Easy/EIntPoint.h>

Public Member Functions

 EIntPoint ()
 Constructs a EIntPoint.
 EIntPoint (int32_t x, int32_t y)
 Constructs a EIntPoint.
bool operator== (const eVision::EIntPoint &other) const
 Checks if this instance is strictly equal to another.
bool operator!= (const eVision::EIntPoint &other) const
 Checks if this instance is not strictly equal to another.

Public Attributes

int32_t X
 x coordinate of the point.
int32_t Y
 y coordinate of the point.

Detailed Description

EPoint whose coordinates are integers.

License(s): None

Constructor & Destructor Documentation

◆ EIntPoint() [1/2]

eVision::EIntPoint::EIntPoint ( )

Constructs a EIntPoint.

◆ EIntPoint() [2/2]

eVision::EIntPoint::EIntPoint ( int32_t x,
int32_t y )

Constructs a EIntPoint.

Parameters
xx coordinate of the point.
yy coordinate of the point.

Member Function Documentation

◆ operator!=()

bool eVision::EIntPoint::operator!= ( const eVision::EIntPoint & other) const

Checks if this instance is not strictly equal to another.

Parameters
otherReference to the other EIntPoint instance

◆ operator==()

bool eVision::EIntPoint::operator== ( const eVision::EIntPoint & other) const

Checks if this instance is strictly equal to another.

Parameters
otherReference to the other EIntPoint instance

Member Data Documentation

◆ X

int32_t eVision::EIntPoint::X

x coordinate of the point.

◆ Y

int32_t eVision::EIntPoint::Y

y coordinate of the point.