Next Previous Up Top Contents Index

2.3 DUIM-Geometry Module

make-transform

Function

Summary

Returns a general affine transform.

Signature

make-transform mxx mxy myx myy tx ty => transform

Arguments

mxx
An instance of type <real>.

mxy
An instance of type <real>.

myx
An instance of type <real>.

myy
An instance of type <real>.

tx
An instance of type <real>.

ty
An instance of type <real>.

Values

transform
An instance of type <transform>.

Library

duim-geometry

Module

duim-geometry

Description

Returns a general transform whose effect is:

x'= mxxx + mxyy + tx
y'= myxx + myyy + ty

where x and y are the coordinates of a point before the transform and x' and y' are the coordinates of the corresponding point after.

All of the arguments to make-transform must be real numbers.

This is a convenient shorthand for make(<transform> ...).

See also

make-reflection-transform, page 37

make-rotation-transform, page 39

make-scaling-transform, page 40

make-translation-transform, page 43


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index