Previous Up Next

25.12.6  Similarity in space

See Section 24.14.6 for similarities in the plane.

The similarity command creates a command to rotate and scale about a given line.

Examples

S:=sphere([0,0,0],0.5); s:=similarity(line(point(0,1,0),point(0,1,1)), 2, 2*pi/3); color(S,blue),s(S)
similarity(line(point(0,1,0),point(1,1,1)), 2, 2*pi/3, S))

Previous Up Next