Return to Statement


Scale Example

This example demonstrates the creation of two circles by transforming CR1 using a scaling matrix.

$$
$$ Declarations
$$
ENTITY/CR1,CR2,CR3
NUMBER/MAT1(12)
$$
$$ Geometry Definition
$$
CR1 =CIRCLE/0,0,.5
$$
$$ Matrix Definition
$$
MAT1=MATRIX/SCALE,2
$$
$$ Transformation
$$
CR2 =TRANSF/MAT1,CR1
$$
$$ Matrix Definition
$$
MAT1=MATRIX/SCALE,.5
$$
$$ Transformation
$$
CR3 =TRANSF/MAT1,CR1

Scale Matrix