File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/P007-7alnUSmp.js
import{E as l,c as p,r as u,n as c,V as h,o as m,l as b}from"./index-XCg2QAX4.js";import{p as f}from"./Pavage-56LGp3ed.js";const g="Fabriquer des pavages pour travailler les transformations",x="P007",y="ad5f8";function C(){l.call(this),this.titre=g,this.consigne="",this.nbQuestions=1,this.nbQuestionsModifiable=!1,this.nbCols=1,this.nbColsCorr=1,this.sup=4,this.sup2="1-1",this.sup3=!0,this.correctionDetaillee=!1,this.correctionDetailleeDisponible=!0,p.isHtml?this.spacingCorr=2.5:this.spacingCorr=1.5,this.nouvelleVersion=function(){const t=[];let i,r;this.sup2?isNaN(this.sup2)?[i,r]=[parseInt(this.sup2.split("-")[0]),parseInt(this.sup2.split("-")[1])]:([i,r]=[parseInt(this.sup2),parseInt(this.sup2)],this.nbQuestions=1):[i,r]=[1,1],this.listeCorrections=[],this.listeQuestions=[];const s=f(),a=this.sup===8?u(1,7):this.sup;if(s.construit(a,i,r,3),this.sup3)for(let e=0;e<s.nb_polygones;e++)t.push(c(h(e+1),s.barycentres[e].x+.3,s.barycentres[e].y,"milieu","black",.04*s.echelle,0,!0));if(this.correctionDetaillee)for(let e=0;e<s.nb_polygones;e++)t.push(s.tracesCentres[e]);for(let e=0;e<s.nb_polygones;e++)t.push(s.polygones[e]);const o=m(s.fenetre,t);let n="Le premier paramètre permet de choisir le pavage.<br>";n+="Le deuxième permet de choisir le nombre de répétitions en x et y. Exemple : 3-2<br>",n+="Le troisième permet d'afficher un Numéro distinct sur chaque figure.<br>",n+="En activant la correction détaillée, on affiche les barycentres de celles-ci.",this.listeQuestions.push(o),this.comment=n,b(this)},this.besoinFormulaireNumerique=["Type de pavage",7,`1 : Triangles équilatéraux
2 : Carrés
3 : Hexagones
4 : Pavage 3².4.3.4
5 : Pavage 8².4
6 : Pavage hexagonal d'écolier
7 : Pavage 6.3.6.3
8 : Mélange`],this.besoinFormulaire2Texte=["Nombre de répétitions du motif (2 entiers séparés par un tiret)"],this.besoinFormulaire3CaseACocher=["Présence de numéros"]}export{C as default,x as ref,g as titre,y as uuid};
//# sourceMappingURL=P007-7alnUSmp.js.map