tkz-euclid e 1.16 c AlterMundus
tkz-euclid e 1.16 c AlterMundus
tkz-euclid e 1.16 c AlterMundus
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
15.5 Donner un label à un cercle 110<br />
15.5 Donner un label à un cercle<br />
\<strong>tkz</strong>LabelCircle[〈local options〉](〈A,B〉)(〈angle〉){〈label〉}<br />
options défaut définition<br />
radius radius cercle caractérisé par deux points définissant un rayon<br />
R radius cercle caractérisé par un point et la mesure d’un rayon<br />
Il n’est pas nécessaire de mettre radius car c’est l’option par défaut. On peut utiliser les styles de TikZ. Le label<br />
est créé et donc "passé" entre accolades.<br />
15.5.1 Exemple de \<strong>tkz</strong>LabelCircle<br />
C<br />
M<br />
P<br />
Le cercle<br />
C<br />
\begin{tikzpicture}<br />
\<strong>tkz</strong>Init[ymin=-2.25,ymax=2.25,xmin=-2.25,xmax=2.25]<br />
\<strong>tkz</strong>DefPoint(0,0){O}<br />
\<strong>tkz</strong>DefPoint(2,0){N}<br />
\<strong>tkz</strong>DefPointBy[rotation=center O angle 50](N)<br />
\<strong>tkz</strong>GetPoint{M}<br />
\<strong>tkz</strong>DefPointBy[rotation=center O angle -20](N)<br />
\<strong>tkz</strong>GetPoint{P}<br />
\<strong>tkz</strong>DefPointBy[rotation=center O angle 125](N)<br />
\<strong>tkz</strong>GetPoint{P’}<br />
\<strong>tkz</strong>LabelCircle[above=4pt](O,N)(120){$\mathcal{C}$}<br />
\<strong>tkz</strong>DrawCircle(O,M)<br />
\<strong>tkz</strong>FillCircle[color=blue!20,opacity=.4](O,M)<br />
\<strong>tkz</strong>LabelCircle[R,draw,fill=Gold,%<br />
text width=2cm,text centered](O,3 cm)(-60)%<br />
{Le cercle\\ $\mathcal{C}$}<br />
\<strong>tkz</strong>DrawSegment[dashed](O,P)<br />
\<strong>tkz</strong>DrawPoints(M,P)\<strong>tkz</strong>LabelPoints[right](M,P)<br />
\end{tikzpicture}<br />
15.6 Tangente à un cercle<br />
Deux constructions sont proposées. La première est la construction d’une tangente à un cercle en un point<br />
donné de ce cercle et la seconde est la construction d’une tangente à un cercle passant par un point donné hors<br />
d’un disque. Ces macros remplacent d’anciennes macros qui existent encore \<strong>tkz</strong>TgtFromP ou \<strong>tkz</strong>TgtFromPR<br />
ainsi que \<strong>tkz</strong>TgtAt.<br />
\<strong>tkz</strong>Tangent[〈local options〉](〈pt1,pt2〉) ou (〈pt1,dim〉)<br />
Le paramètre entre parenthèses est le centre du cercle ou bien le centre du cercle et un point du cercle ou encore<br />
le centre et le rayon.<br />
options défaut définition<br />
at=pt at tangente en un point du cercle<br />
from=pt at tangente à un cercle passant par un point<br />
from with R=pt at idem, mais le cercle est défini par centre+rayon<br />
La tangente n’est pas tracée.Un second point de celle-ci est donné par <strong>tkz</strong>PointResult.<br />
<strong>tkz</strong>-<strong>euclid</strong>e<br />
<strong>AlterMundus</strong>