RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
Hydrax::Size Struct Reference

Struct wich contains an especific width and height value. More...

#include <Help.h>

Public Member Functions

 Size ()
 Default constructor. More...
 
 Size (const int &size)
 Constructor. More...
 
 Size (const int &width, const int &height)
 Constructor. More...
 
 ~Size ()
 Destructor. More...
 
void setSize (const int &size)
 Sets the same width and height value. More...
 
void setSize (const int &width, const int &height)
 Sets the especified values. More...
 

Data Fields

int Width
 Width value. More...
 
int Height
 Height value. More...
 

Detailed Description

Struct wich contains an especific width and height value.

Definition at line 40 of file Help.h.

Constructor & Destructor Documentation

◆ Size() [1/3]

Hydrax::Size::Size ( )
inline

Default constructor.

Definition at line 49 of file Help.h.

◆ Size() [2/3]

Hydrax::Size::Size ( const int &  size)
inline

Constructor.

Parameters
sizeThe width and height values

Definition at line 58 of file Help.h.

◆ Size() [3/3]

Hydrax::Size::Size ( const int &  width,
const int &  height 
)
inline

Constructor.

Parameters
widthWidth value
heightHeight value

Definition at line 68 of file Help.h.

◆ ~Size()

Hydrax::Size::~Size ( )
inline

Destructor.

Definition at line 76 of file Help.h.

Member Function Documentation

◆ setSize() [1/2]

void Hydrax::Size::setSize ( const int &  size)
inline

Sets the same width and height value.

Parameters
sizeThe width and height values

Definition at line 83 of file Help.h.

◆ setSize() [2/2]

void Hydrax::Size::setSize ( const int &  width,
const int &  height 
)
inline

Sets the especified values.

Parameters
widthWidth value
heightHeight value

Definition at line 93 of file Help.h.

Field Documentation

◆ Height

int Hydrax::Size::Height

Height value.

Definition at line 45 of file Help.h.

◆ Width

int Hydrax::Size::Width

Width value.

Definition at line 43 of file Help.h.


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