| 1 |
input geom2d; |
| 2 |
|
| 3 |
labeloffset := 6; |
| 4 |
gddTaillePoint := 2; |
| 5 |
gddCouleurPoint := Yellow; |
| 6 |
|
| 7 |
beginfig(1); |
| 8 |
Repere(9,9,4,5,0.8,0.8); |
| 9 |
Axes; |
| 10 |
Debut; |
| 11 |
Axes; |
| 12 |
Graduations; Unites(1); |
| 13 |
|
| 14 |
C1 = Cercle((1,1),3); |
| 15 |
C2 = Cercle((-1,-2),1); |
| 16 |
|
| 17 |
T1 = TangenteCommuneExterieure(C1,C2); |
| 18 |
T2 = TangenteCommuneExterieure(C2,C1); |
| 19 |
|
| 20 |
drawoptions(withcolor LightSlateGrey); |
| 21 |
trace C1; |
| 22 |
trace C2; |
| 23 |
|
| 24 |
drawoptions(withcolor Olive); |
| 25 |
trace T1; |
| 26 |
trace T2; |
| 27 |
|
| 28 |
drawoptions(); |
| 29 |
pointe Point(1,1); |
| 30 |
pointe Point(-1,-2); |
| 31 |
|
| 32 |
Fin; |
| 33 |
endfig; |
| 34 |
end |