The Node class defined in C++ is a specialized type of Frame used to apply forces and sense accelerations at fixed locations on bodies. It is fully fixed to its parent and includes specific handles for applying forces and moments.
The Node Class
Description and Naming
The Node class is a templated class with one template argument - T.
Node<T>
represents a fixed frame with additional functionalities for force and moment applications. It inherits from the Frame class and includes the following key parameters:
-
force
- The force applied at the node. -
force_frame
- The frame in which the force is applied. -
moment
- The moment applied at the node. -
moment_frame
- The frame in which the moment is applied.
For a complete guide on interacting with the Node class, refer to the Doxygen documentation: Node Doxygen
Creating a Node
Description | C++ Example | Python Example |
---|---|---|
Default Constructor - Creates a node with a specified name |
|
|
Default Constructor - Creates a node with a specified name and parent |
|
|
Applying Forces and Moments
Description | C++ Example | Python Example |
---|---|---|
Set Applied Force - Sets the force applied at the node. |
|
|
Set Applied Force Frame - Sets the frame in which the force is applied. |
|
|
Set Applied Moment - Sets the moment applied at the node. |
|
|
Set Applied Moment Frame - Sets the frame in which the moment is applied. |
|
|