Next Previous Up Top Contents Index

2.3 DUIM-Geometry Module

compose-rotation-with-transform

Generic function

Summary

Creates a new transform by composing a transform with the given rotation

Signature

compose-rotation-with-transform transform angle #key origin => transform

Arguments

transform
An instance of type <transform>.

angle
An instance of type <real>.

origin
An instance of type <point>. Default value: (0, 0).

Values

transform
An instance of type <transform>.

Library

duim-geometry

Module

duim-geometry

Description

Creates a new transform by composing the transform transform with the given rotation The order of composition is that the rotation transform is applied first, followed by the argument transform.

Note that this function could be implemented by using make-rotation-transform and compose-transforms. It is provided because it is common to build up a transform as a series of simple transforms.

See also

make-rotation-transform, page 39


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index