public void InitialiserVoisinFocuGP(GrandeurPhysique GPfocus) { GPfocus.Selectionne = true; GPfocus.FocusOn = true; foreach (var GP_Selec in Produit.GrandeurPhysiques) { int uneRelation = Relation.MatriceRelations[GPfocus.iM][GP_Selec.Value.iM]; if (uneRelation != 0) { GP_Selec.Value.Selectionne = true; } } }
public void CalculerRelation(GrandeurPhysique depart) { int indiceEquation = 0; foreach (var Arrivee in Produit.GrandeurPhysiques) { indiceEquation = Relation.MatriceRelations[depart.iM][Arrivee.Value.iM]; if (indiceEquation != 0) { Equation.Calculer(indiceEquation); } } indiceEquation = 0; foreach (var Arrivee in Produit.GrandeurPhysiques) { indiceEquation = Relation.MatriceRelations[Arrivee.Value.iM][depart.iM]; if (indiceEquation != 0) { Equation.Calculer(indiceEquation); } } }
public PocVertex(GrandeurPhysique GP) { this.GP = GP; ID = GP.Nom; IsMale = true; }
public DataVertex(GrandeurPhysique gp) { Text = gp.Nom; GP = gp; }