Next: , Previous: Rectangle Operators, Up: Rectangle Reference


29.4 Returning Points

— Function: Point corner (unsigned short c)

Returns the corner Point indicated by the argument c, which must be between 0 and 3.

const function: Point mid_point (unsigned short m)

Returns the mid-point of one of the sides. The argument c must be between 0 and 3.