Exemple #1
0
        //-----------------------------------------------
        public void FrontToBack(I2iObjetGraphique child)
        {
            C2i3DEn2D c3d = child as C2i3DEn2D;

            if (c3d != null)
            {
                Composant3D.FrontToBack(c3d.Composant3D);
            }
        }
Exemple #2
0
        //-----------------------------------------------
        public void BringToFront(I2iObjetGraphique child)
        {
            C2i3DEn2D c3d = child as C2i3DEn2D;

            if (c3d != null)
            {
                Composant3D.BringToFront(c3d.Composant3D);
            }
        }
Exemple #3
0
        //-----------------------------------------------
        public System.Collections.ArrayList AllChilds()
        {
            ArrayList lst = new ArrayList();

            foreach (C2iComposant3D fils in Composant3D.AllChilds())
            {
                lst.Add(fils.Get2D(FaceVisible));
            }
            return(lst);
        }
Exemple #4
0
        //-----------------------------------------------
        public bool AddChild(I2iObjetGraphique child)
        {
            C2i3DEn2D composant = child as C2i3DEn2D;

            if (composant != null)
            {
                bool bResult = Composant3D.AddFils(composant.Composant3D);
                if (bResult && ChildAdded != null)
                {
                    ChildAdded(child);
                }
                return(bResult);
            }
            return(false);
        }
Exemple #5
0
 //-----------------------------------------------
 public override int GetHashCode()
 {
     return(Composant3D.GetHashCode());
 }