#include <Size.h>
Collaboration diagram for Size:
Definition at line 22 of file 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, double depth) |
void | setSize (double width, double height) |
Size (double width, double height, double depth) | |
Size (double width, double height) | |
Size () | |
Private Attributes | |
double | m_depth |
double | m_height |
double | m_width |
double getDepth | ( | ) | const [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().
double getHeight | ( | ) | const [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().
double getWidth | ( | ) | const [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 | ) |
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, | |||
double | depth | |||
) |
Definition at line 38 of file Size.cxx.
References Size::m_depth, Size::m_height, and Size::m_width.
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().
double m_depth [private] |
Definition at line 27 of file Size.h.
Referenced by Size::getDepth(), Size::setDepth(), and Size::setSize().
double m_height [private] |
double m_width [private] |