Next Previous Up Top Contents Index

3.3 DUIM-Extended-Geometry Module

<rectangle>

Abstract instantiable class

Summary

The protocol class that corresponds to a rectangle.

Superclasses

<area>

Init-keywords

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>.

points:
An instance of type limited(<sequence>, of: <point>).

Library

duim-extended-geometry

Module

duim-extended-geometry

Description

The protocol class that corresponds to a rectangle. This is a subclass of <polygon>.

Rectangles whose edges are parallel to the coordinate axes are a special case of polygon that can be specified completely by four real numbers x1,y1,x2,y2). They are not closed under general affine transformations (although they are closed under rectilinear transformations).

Operations

The following operations are exported from the DUIM-Extended-Geometry module.

do-polygon-coordinates do-polygon-segments draw-design polygon-coordinates polygon-points rectangle? rectangle-edges rectangle-height rectangle-max-point rectangle-max-position rectangle-min-point rectangle-min-position rectangle-size rectangle-width

The following operations are exported from the DUIM-Geometry module.

box-edges transform-region

See also

<polygon>, page 97

make-rectangle, page 96

rectangle?, page 104

rectangle-edges, page 105

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