Class representing a two or three dimension size. More...
#include <Size.h>
Public Member Functions | |
double | getDepth () const |
The following function returns the depth. | |
double | getHeight () const |
The following function returns the height. | |
double | getWidth () const |
The following function returns the width. | |
void | setDepth (double) |
Sets the depth dimenision of the size. | |
void | setSize (double width, double height) |
void | setSize (double width, double height, double depth) |
Size () | |
Size (double width, double height) | |
Size (double width, double height, double depth) |
Private Attributes | |
double | m_depth |
double | m_height |
double | m_width |
Class representing a two or three dimension size.
|
inline |
The following function returns the depth.
Definition at line 72 of file Size.h.
References Size::m_depth.
Referenced by Rect::getDepth(), Rect::isInDepth(), and Rect::makeInBounds().
|
inline |
The following function returns the height.
Definition at line 64 of file Size.h.
References Size::m_height.
Referenced by Rect::getHeight(), and Rect::makeInBounds().
|
inline |
The following function returns the width.
Definition at line 56 of file Size.h.
References Size::m_width.
Referenced by Rect::getWidth(), and Rect::makeInBounds().
void setDepth | ( | double | d | ) |
Sets the depth dimenision of the size.
Definition at line 45 of file Size.cxx.
References Size::m_depth.
Referenced by Rect::setDepth().
void setSize | ( | double | width, |
double | height | ||
) |
Definition at line 32 of file Size.cxx.
References Size::m_height, and Size::m_width.
Referenced by Rect::setRect().
void setSize | ( | double | width, |
double | height, | ||
double | depth | ||
) |
Definition at line 38 of file Size.cxx.
References Size::m_depth, Size::m_height, and Size::m_width.
|
private |
Definition at line 27 of file Size.h.
Referenced by Size::getDepth(), Size::setDepth(), and Size::setSize().
|
private |
Definition at line 26 of file Size.h.
Referenced by Size::getHeight(), and Size::setSize().
|
private |
Definition at line 25 of file Size.h.
Referenced by Size::getWidth(), and Size::setSize().