Esempio n. 1
0
        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;
                }
            }
        }
Esempio n. 2
0
        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);
                }
            }
        }
Esempio n. 3
0
 public PocVertex(GrandeurPhysique GP)
 {
     this.GP = GP;
     ID      = GP.Nom;
     IsMale  = true;
 }
Esempio n. 4
0
 public DataVertex(GrandeurPhysique gp)
 {
     Text = gp.Nom;
     GP   = gp;
 }