Next Previous Up Top Contents Index

3.3 DUIM-Extended-Geometry Module

rectangle-edges

Generic function

Summary

Returns the coordinates of the minimum and maximum of the rectangle.

Signature

rectangle-edges rectangle => x1 y1 x2 y2

Arguments

rectangle
An instance of type <rectangle>.

Values

min-x
An instance of type <real>.

min-y
An instance of type <real>.

max-x
An instance of type <real>.

max-y
An instance of type <real>.

Library

duim-extended-geometry

Module

duim-extended-geometry

Description

Returns the coordinates of the minimum x and y and maximum x and y of the rectangle rectangle as four values, min-x, min-y, max-x, and max-y.

The argument min-x represents the x coordinate of the top left of the rectangle.

The argument min-y represents the y coordinate of the top left of the rectangle.

The argument max-x represents the x coordinate of the bottom right of the rectangle.

The argument max-y represents the y coordinate of the bottom right of the rectangle.

See also

<rectangle>, page 103

rectangle?, page 104

rectangle-height, page 106

rectangle-max-point, page 107

rectangle-max-position, page 108

rectangle-min-point, page 109

rectangle-min-position, page 110

rectangle-size, page 111

rectangle-width, page 112


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index