Class ParentPhysicalModalBodyAttachmentParams#

Inheritance Relationships#

Base Type#

Class Documentation#

class ParentPhysicalModalBodyAttachmentParams : public Karana::Dynamics::ParentPhysicalBodyAttachmentParams#

Defines an attachment to a PhysicalModalBody.

Public Functions

ParentPhysicalModalBodyAttachmentParams(const km::HomTran &inb_to_joint_transform, const km::Mat3n &onode_rotational_nodal_matrix, const km::Mat3n &onode_translational_nodal_matrix)#

ParentPhysicalModalBodyAttachmentParams constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.

Parameters:
  • inb_to_joint_transform – The inboard body to joint transform for the body.

  • onode_rotational_nodal_matrix – The rotational nodal matrix for the onode

  • onode_translational_nodal_matrix – The translational nodal matrix for the onode

ParentPhysicalModalBodyAttachmentParams(const ParentPhysicalModalBodyAttachmentParams&) = delete#
ParentPhysicalModalBodyAttachmentParams &operator=(const ParentPhysicalModalBodyAttachmentParams&) = delete#
virtual void setAttachmentParams(PhysicalHinge &hinge) const override#

Set the parameters associated with attachment.

Parameters:

hinge – The hinge that attaches the parent to the child.

virtual bool operator==(const ParentBodyAttachmentParams &other) const override#

Equality operator.

Parameters:

other – The other parameter to compare against.

Returns:

true if the two ParentPhysicalModalBodyAttachmentParams have the same parameters; false otherwise.

Public Members

km::Mat3n onode_rotational_nodal_matrix#

The rotational nodal matrix for the onode.

km::Mat3n onode_translational_nodal_matrix#

The translational nodal matrix for the onode.

Public Static Functions

static kc::ks_ptr<ParentPhysicalModalBodyAttachmentParams> create(const km::HomTran &inb_to_joint_transform, const km::Mat3n &onode_rotational_nodal_matrix, const km::Mat3n &onode_translational_nodal_matrix)#

Create a new instance of ParentPhysicalModalBodyAttachmentParams.

Parameters:
  • inb_to_joint_transform – The inboard body to joint transform for the body.

  • onode_rotational_nodal_matrix – The translational nodal matrix for the onode

  • onode_translational_nodal_matrix – The translational nodal matrix for the onode

Returns:

The new instance of ParentPhysicalModalBodyAttachmentParams.