Previous Up Next

11.14.5  L’homothétie : homothety homothetie

Voir aussi : 10.17.5 pour la géométrie plane.
homothetie, en géométrie 3-d, a deux ou trois arguments  : un point (le centre de l’homothétie), un réel (la valeur du rapport de l’homothétie) et éventuellement l’objet géométrique à transformer.
Lorsque homothetie a deux arguments, c’est une fonction qui agit sur un objet géométrique.
On tape :

h:=homothetie(point(0,0,0),2)

Puis :

h(point(0,0,1))

On obtient :

Le point (0,0,2) est tracé

Lorsque homothetie a trois arguments, homothetie dessine et renvoie le transformé du troisième argument dans l’homothétie de centre le premier argument et de rapport le deuxième argument.
On tape :

homothetie(point(0,0,0),2,point(0,0,1))

On obtient :

Le point (0,0,2) est tracé

On tape :

homothetie(point(0,0,0),2,sqhere(point(0,0,0),1))

On obtient :

La sphère de centre (0,0,0) et de rayon 2

Previous Up Next