parameters: (self,name)
docstring: Deletes the named frame.  All items that refer to this frame
          will be automatically converted to be relative to the root coordinate
          system
docstring_summary: Deletes the named frame.  All items that refer to this frame
          will be automatically converted to be relative to the root coordinate
          system
docstring_tokens: Deletes the named frame . All items that refer to this frame will be automatically converted to be relative to the root coordinate system
function: def deleteFrame(self,name):
          """Deletes the named frame.  All items that refer to this frame
          will be automatically converted to be relative to the root coordinate
          system"""
          assert name != 'root',"Root frame may not be deleted"
          if name not in self.frames:
              raise ValueError("Invalid frame to delete")
          f = self.frames[name]
          f._parent = None
          if f._parent != None:
              self.childLists[f._parent._name].remove(f)
          for (n,p) in self.points.iteritems():
              if p._parent == f:
                  p._localCoordinates = p.worldCoordinates()
                  p._parent = self.frames['root']
          for (n,p) in self.directions.iteritems():
              if p._parent == f:
                  p._localCoordinates = p.worldCoordinates()
                  p._parent = self.frames['root']
          for c in self.childLists[name]:
              p._relativeCoordinates = p._worldCoordinates
              p._parent = self.frames['root']
          del self.frames[name]
          del self.childLists[name]
function_tokens: def deleteFrame ( self , name ) : assert name != 'root' , "Root frame may not be deleted" if name not in self . frames : raise ValueError ( "Invalid frame to delete" ) f = self . frames [ name ] f . _parent = None if f . _parent != None : self . childLists [ f . _parent . _name ] . remove ( f ) for ( n , p ) in self . points . iteritems ( ) : if p . _parent == f : p . _localCoordinates = p . worldCoordinates ( ) p . _parent = self . frames [ 'root' ] for ( n , p ) in self . directions . iteritems ( ) : if p . _parent == f : p . _localCoordinates = p . worldCoordinates ( ) p . _parent = self . frames [ 'root' ] for c in self . childLists [ name ] : p . _relativeCoordinates = p . _worldCoordinates p . _parent = self . frames [ 'root' ] del self . frames [ name ] del self . childLists [ name ]