Esempio n. 1
0
 static void removeObject(GeometricObject go)
 {
     if (go is Compound)
     {
         Compound com = (Compound)go;
         foreach (GeometricObject g in com.Objects)
         {
             removeObject(g);
         }
     }
     GeometricObject.Remove(go.Name);
 }
Esempio n. 2
0
 public Instance(GeometricObject obj, string name)
     : base(name)
 {
     Object = obj;
     bbox = obj.GetBoundingBox();
 }