コード例 #1
0
ファイル: MonGraph_Model.cs プロジェクト: aliaspilote/plot-v2
        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;
                }
            }
        }
コード例 #2
0
ファイル: MonGraph_Model.cs プロジェクト: aliaspilote/plot-v2
        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);
                }
            }
        }
コード例 #3
0
 public PocVertex(GrandeurPhysique GP)
 {
     this.GP = GP;
     ID      = GP.Nom;
     IsMale  = true;
 }
コード例 #4
0
 public DataVertex(GrandeurPhysique gp)
 {
     Text = gp.Nom;
     GP   = gp;
 }