//----------------------------------------------- public void FrontToBack(I2iObjetGraphique child) { C2i3DEn2D c3d = child as C2i3DEn2D; if (c3d != null) { Composant3D.FrontToBack(c3d.Composant3D); } }
//----------------------------------------------- public void BringToFront(I2iObjetGraphique child) { C2i3DEn2D c3d = child as C2i3DEn2D; if (c3d != null) { Composant3D.BringToFront(c3d.Composant3D); } }
//----------------------------------------------- public System.Collections.ArrayList AllChilds() { ArrayList lst = new ArrayList(); foreach (C2iComposant3D fils in Composant3D.AllChilds()) { lst.Add(fils.Get2D(FaceVisible)); } return(lst); }
//----------------------------------------------- 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); }
//----------------------------------------------- public override int GetHashCode() { return(Composant3D.GetHashCode()); }