Package teamwork :: Package math :: Module KeyedVector :: Class SlopeRow
[hide private]
[frames] | no frames]

Class SlopeRow

source code

KeyedVector --+
              |
             SlopeRow
Known Subclasses:

Subclass for rows used to represent the slope of planes

Instance Methods [hide private]
 
__init__(self, args={}, keys=None) source code
KeyedVector
instantiate(self, table)
Substitutes values for any abstract references, using the given substitution table
source code
 
instantiateKeys(self, table)
Substitutes values for any abstract references, using the given substitution table
source code
 
__copy__(self) source code
 
__deepcopy__(self, memo) source code
 
__xml__(self) source code
 
parse(self, element, changeInPlace=True)
Extracts the distribution from the given XML element
source code

Inherited from KeyedVector: __add__, __delitem__, __eq__, __getitem__, __hash__, __len__, __mul__, __neg__, __rmul__, __setitem__, __str__, __sub__, addColumns, compose, fill, freeze, getArray, has_key, items, keys, normalize, setArray, simpleText, unfreeze

Inherited from KeyedVector (private): _updateString

Class Variables [hide private]
  args = []
list of keys for this test
  threshold = None
the default threshold for a plane of this type
  relation = None
the default relation for a plane of this type
Instance Variables [hide private]

Inherited from KeyedVector (private): _array, _fresh, _frozen, _string

Method Details [hide private]

__init__(self, args={}, keys=None)
(Constructor)

source code 
Overrides: KeyedVector.__init__

instantiate(self, table)

source code 

Substitutes values for any abstract references, using the given substitution table

Parameters:
  • table (dictionary) - dictionary of key-value pairs, where the value will be substituted for any appearance of the given key in a field of this Key object
Returns: KeyedVector
Overrides: KeyedVector.instantiate

instantiateKeys(self, table)

source code 

Substitutes values for any abstract references, using the given substitution table

Parameters:
  • table (dictionary) - dictionary of key-value pairs, where the value will be substituted for any appearance of the given key in a field of this Key object
Overrides: KeyedVector.instantiateKeys

__copy__(self)

source code 
Overrides: KeyedVector.__copy__

__deepcopy__(self, memo)

source code 
Overrides: KeyedVector.__deepcopy__

__xml__(self)

source code 
Overrides: KeyedVector.__xml__

parse(self, element, changeInPlace=True)

source code 

Extracts the distribution from the given XML element

Parameters:
  • element (Element) - The XML Element object specifying the vector
  • changeInPlace (boolean) - flag, if True, then modify this vector itself; otherwise, return a new vector
Returns:
the KeyedVector instance
Overrides: KeyedVector.parse