
Il est possible de modifier et de compiler cet exemple :
\documentclass[border=10pt]{standalone}\usepackage{tkz-euclide}\begin{document}\begin{tikzpicture}[scale=.4]\tkzDefPoints{-1/-2/A,1/3/B}\tkzDefRegPolygon[side,sides=6](A,B)\tkzGetPoint{O}\tkzDrawPolygon[fill=black!10, draw=blue](P1,P...,P6)\tkzLabelRegPolygon[sep=1.05](O){A,...,F}\tkzDrawCircle[dashed](O,A)\tkzLabelSegment[above,sloped,midway](A,B){\(A B = 16m\)}\foreach \i [count=\xi from 1] in {2,...,6,1}{%\tkzDefMidPoint(P\xi,P\i)\path (O) to [pos=1.1] node {\xi} (tkzPointResult) ;}\tkzDefRandPointOn[segment = P3--P5]\tkzGetPoint{S}\tkzDrawSegments[thick,dashed,red](A,S S,B)\tkzDrawPoints(P1,P...,P6,S)\tkzLabelPoint[left,above](S){$S$}\tkzDrawSector[R with nodes,fill=red!20](S,2)(A,B)\tkzLabelAngle[pos=1.5](A,S,B){$\alpha$}\end{tikzpicture}\end{document}