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 :
Puis :
On obtient :
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 :
On obtient :
On tape :
On obtient :