Return to Statement


Translate Example

This example demonstrates the creation of a circle (CR2) by transforming a copy of CR1 using a translation matrix.

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

Translation Matrix