Node: Rectangle Data Members, Next: , Previous: Rectangle Reference, Up: Rectangle Reference



Data Members

real axis_h Private variables
real axis_v
The lengths of the horizontal and vertical axes, respectively, of the Rectangle. Actually, they are merely the horizontal and vertical axes by convention, since there are no restrictions on the orientation of an Rectangle.

Please note that axis_h and axis_v are currently not recalculated, when a Rectangle is transformed. I plan to do something about this soon.

bool on_free_store Private variable
true, if the Rectangle was dynamically allocated on the free store, otherwise false. Dynamic allocation of Rectangles should only be performed by create_new<Rectangle>(), which sets on_free_store to true.