Next Previous Up Top Contents Index

2.3 DUIM-Geometry Module

region-union

Generic function

Summary

Returns the union of two regions, as a region.

Signature

region-union region1 region2 => region

Arguments

region1
An instance of type <region>.

region2
An instance of type <region>.

Values

region
An instance of type <region>.

Library

duim-geometry

Module

duim-geometry

Description

Returns a region that contains all points that are in either of the regions region1 or region2 (possibly with some points removed in order to satisfy the dimensionality rule)

The result of region-union always has dimensionality that is the maximum dimensionality of region1 and region2. For example, the union of a path and an area produces an area; the union of two paths is a path.

Note: region-union may return either a simple region or a region set.

See also

region-intersection, page 55


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index