Next Prev Up Top Contents Index

ordered-rectangle-union

Function
Summary

Returns the union of two rectangles.

Signature
ordered-rectangle-union left-1
 top-1
 right-1
 bottom-1 
                        left-2
 top-2
 right-2
 bottom-2
 =>
                        left
 top
 right
 bottom
Arguments

left-1

A real number

top-1

A real number

right-1

A real number

bottom -1

A real number

left-2

A real number

top-2

A real number

right-2

A real number

bottom -2

A real number

Values

left

A real number

top

A real number

right

A real number

bottom

A real number

Description

The ordered-rectangle-union function returns four values: the left , top , right and bottom of the union of the two rectangles specified in the arguments. The caller guarantees that each input rectangle is ordered, that is, the left values must be smaller or equal to the right values, and the top values must be greater than or equal to the bottom ones.

See also

rectangle-union


LispWorks CAPI Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index