Package mbdyn :: Package bindings :: Module joints :: Class BindingsHingeJoint
[hide private]

Class BindingsHingeJoint

source code

basic_objects.BasicObject --+            
                            |            
        basic_objects.Element --+        
                                |        
                   elements.Joint --+    
                                    |    
                      DriveHingeJoint --+
                                        |
                                       BindingsHingeJoint

A drive hinge joint on which the angle value can be set at every time step

Instance Methods [hide private]
 
__init__(self, c_inst=None)
The C++ instance reference is supposed to be received in the constructor because this object will represent a MBDyn node, element or reference frame
source code
a Numpy array
get_value(self)
Return the angle vector
source code
 
set_value(self, array)
Set the angle vector on the drive hinge joint.
source code

Inherited from basic_objects.Element: __repr__

Inherited from basic_objects.BasicObject: get_label, set_c_inst

Method Details [hide private]

__init__(self, c_inst=None)
(Constructor)

source code 
The C++ instance reference is supposed to be received in the constructor because this object will represent a MBDyn node, element or reference frame
Overrides: basic_objects.Element.__init__

get_value(self)

source code 
Return the angle vector
Returns: a Numpy array
vector of size 3x1

set_value(self, array)

source code 
Set the angle vector on the drive hinge joint.
Parameters:
  • array (a Numpy array) - a vector of size 3x1