#include <urectangle.hpp>
Inheritance diagram for ufo::URectangleObject:
Public Member Functions | |
URectangleObject (const URectangle &rect) | |
URectangleObject (int x, int y, int w, int h) | |
URectangleObject (const UPoint &p, const UDimension &d) | |
URectangleObject (const UPoint &p1, const UPoint &p2) | |
virtual unsigned int | hashCode () const |
virtual bool | equals (const UObject *obj) |
virtual bool | equals (const URectangle *obj) |
virtual UObject * | clone () const |
Protected Member Functions | |
virtual std::ostream & | paramString (std::ostream &os) const |
|
Computes a rectangle between two points. |
|
tries to make a new object with the same internal data. Reimplemented from ufo::UObject.
|
|
returns a std::size_t which is used when UObject pointers are the keys for UHashMap. If equals(UObject*) returns true, these two objects should return the same hash code. If these objects are different, the hash code may be equal.
Reimplemented from ufo::UObject.
|
|
Prints some useful internal data to the ostream os. This method is meant only for debugging purposes. Reimplemented from ufo::UObject.
|