#include <MathClasses.h>


Public Member Functions | |
| Size () | |
| Size (JString xml) | |
| Size (XMLNode *node) | |
| Size (double width, double height, double depth=0) | |
| virtual | ~Size () |
| Object * | clone () const |
| bool | equals (const Size &size) const |
| bool | operator== (const Size &p) const |
| double | getHeight () const |
| double | getWidth () const |
| double | getDepth () const |
| bool | setHeight (double height) |
| bool | setWidth (double width) |
| bool | setDepth (double depth) |
| bool | isNonZero () const |
| double | getArea () const |
| double | getDiagonalLenth () const |
| JString | print () |
| JString | toXML () |
| bool | fromXML (XMLNode *node) |
Public Attributes | |
| double | w |
| double | h |
| double | d |
Definition at line 45 of file MathClasses.h.
| cmlabs::Size::Size | ( | ) |
Definition at line 34 of file MathClasses.cpp.
| cmlabs::Size::Size | ( | JString | xml | ) |
Definition at line 35 of file MathClasses.cpp.
| cmlabs::Size::Size | ( | XMLNode * | node | ) |
Definition at line 40 of file MathClasses.cpp.
| cmlabs::Size::Size | ( | double | width, | |
| double | height, | |||
| double | depth = 0 | |||
| ) |
Definition at line 45 of file MathClasses.cpp.
| cmlabs::Size::~Size | ( | ) | [virtual] |
Definition at line 46 of file MathClasses.cpp.
| Object * cmlabs::Size::clone | ( | ) | const [virtual] |
| bool cmlabs::Size::equals | ( | const Size & | size | ) | const |
Definition at line 54 of file MathClasses.cpp.
| bool cmlabs::Size::operator== | ( | const Size & | p | ) | const |
Definition at line 61 of file MathClasses.cpp.
| double cmlabs::Size::getHeight | ( | ) | const |
Definition at line 66 of file MathClasses.cpp.
| double cmlabs::Size::getWidth | ( | ) | const |
Definition at line 67 of file MathClasses.cpp.
| double cmlabs::Size::getDepth | ( | ) | const |
Definition at line 68 of file MathClasses.cpp.
| bool cmlabs::Size::setHeight | ( | double | height | ) |
Definition at line 70 of file MathClasses.cpp.
| bool cmlabs::Size::setWidth | ( | double | width | ) |
Definition at line 71 of file MathClasses.cpp.
| bool cmlabs::Size::setDepth | ( | double | depth | ) |
Definition at line 72 of file MathClasses.cpp.
| bool cmlabs::Size::isNonZero | ( | ) | const |
Definition at line 74 of file MathClasses.cpp.
| double cmlabs::Size::getArea | ( | ) | const |
Definition at line 78 of file MathClasses.cpp.
| double cmlabs::Size::getDiagonalLenth | ( | ) | const |
Definition at line 82 of file MathClasses.cpp.
| JString cmlabs::Size::print | ( | ) | [virtual] |
| JString cmlabs::Size::toXML | ( | ) | [virtual] |
| bool cmlabs::Size::fromXML | ( | XMLNode * | node | ) | [virtual] |
| double cmlabs::Size::w |
Definition at line 56 of file MathClasses.h.
| double cmlabs::Size::h |
Definition at line 57 of file MathClasses.h.
| double cmlabs::Size::d |
Definition at line 58 of file MathClasses.h.
1.5.6