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

Size composed of floating point width and height. More...

#include <eVision/Easy/ESize.h>

Public Member Functions

 ESize ()
 Constructs a ESize.
 ESize (float width, float height)
 Constructs a ESize.
bool operator== (const eVision::ESize &other) const
 Checks if this instance is strictly equal to another.
bool operator!= (const eVision::ESize &other) const
 Checks if this instance is not strictly equal to another.

Public Attributes

float Width
 Width.
float Height
 Height.

Detailed Description

Size composed of floating point width and height.

License(s): None

Constructor & Destructor Documentation

◆ ESize() [1/2]

eVision::ESize::ESize ( )

Constructs a ESize.

◆ ESize() [2/2]

eVision::ESize::ESize ( float width,
float height )

Constructs a ESize.

Parameters
widthWidth.
heightHeight.

Member Function Documentation

◆ operator!=()

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

Checks if this instance is not strictly equal to another.

Parameters
otherReference to the other ESize instance

◆ operator==()

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

Checks if this instance is strictly equal to another.

Parameters
otherReference to the other ESize instance

Member Data Documentation

◆ Height

float eVision::ESize::Height

Height.

◆ Width

float eVision::ESize::Width

Width.