Package windSimSuite :: Module references :: Class ReferenceFrames
[hide private]

Class ReferenceFrames

source code

mbdyn.record.RecordBase --+        
                          |        
        mbdyn.record.Record --+    
                              |    
             common.BasicObject --+
                                  |
                                 ReferenceFrames

Manipulate ReferenceFrame references in a list. The first reference frame is supposed to represent the first transformation from the absolute reference frame, and so on until the final transformation for reaching the base of work. This object is used by every wind turbine component, that according to its placement keep a different list of ReferenceFrame references.

Instance Methods [hide private]
 
__init__(self, name='references') source code
 
add(self, reference_frame)
Append a reference frame to the list
source code
 
prepend(self, refs_list)
Prepend a list of reference frames to the list.
source code
 
get_matrix_from(self, key)
Return the transform matrix from the given reference frame key to the global reference frame.
source code
 
__getitem__(self, key)
Return a reference frame from its key
source code

Inherited from common.BasicObject: set_name

Inherited from mbdyn.record.Record: common_init_results, init_results, save, set_own_parameters, will_save, will_save_nothing, will_save_only

Inherited from mbdyn.record.Record (private): _save_direct_results, _save_results_with_actions, _try_to_add

Inherited from mbdyn.record.RecordBase: collect_own_parameters, collect_parameters, set_own_para, set_parameters

Inherited from mbdyn.record.RecordBase (private): _collect_own_para

Method Details [hide private]

__init__(self, name='references')
(Constructor)

source code 
Overrides: common.BasicObject.__init__

prepend(self, refs_list)

source code 
Prepend a list of reference frames to the list.
Parameters:
  • refs_list (a list) - a list made of reference frame