Size.cxx
Go to the documentation of this file.
1 
12 #include "Size.h"
13 
14 using namespace hippodraw;
15 
17  : m_width( 0.0 ), m_height( 0.0 ), m_depth( 0.0 )
18 {
19 
20 }
21 
22 Size::Size( double x, double y )
23  : m_width( x ), m_height( y )
24 {
25 }
26 
27 Size::Size( double x, double y, double z )
28  : m_width( x ), m_height( y ), m_depth( z )
29 {
30 }
31 
32 void Size::setSize( double width, double height )
33 {
34  m_width = width;
35  m_height = height;
36 }
37 
38 void Size::setSize( double width, double height, double depth )
39 {
40  m_width = width;
41  m_height = height;
42  m_depth = depth;
43 }
44 
45 void Size::setDepth ( double d )
46 {
47  m_depth = d;
48 }

Generated for HippoDraw Class Library by doxygen