Node: Querying Rectangles, Next: , Previous: Returning Points for Rectangles, Up: Rectangle Reference



Querying

real get_axis_h (void) const functions
real get_axis_v (void)
These functions return axis_h and axis_v, respectively.

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 is_rectangular (void) const function
Returns true, if the Rectangle is rectangular, otherwise false. Transformations, such as shearing, can cause Rectangles to become non-rectangular.