Class ParentPhysicalBodyAttachmentParams#
Defined in File PhysicalBody.h
Inheritance Relationships#
Base Type#
public Karana::Dynamics::ParentBodyAttachmentParams(Class ParentBodyAttachmentParams)
Derived Type#
public Karana::Dynamics::ParentPhysicalModalBodyAttachmentParams(Class ParentPhysicalModalBodyAttachmentParams)
Class Documentation#
-
class ParentPhysicalBodyAttachmentParams : public Karana::Dynamics::ParentBodyAttachmentParams#
ParentBodyAttachement for a PhysicalBody.
Subclassed by Karana::Dynamics::ParentPhysicalModalBodyAttachmentParams
Public Functions
-
ParentPhysicalBodyAttachmentParams(km::HomTran inb_to_joint_transform)#
ParentPhysicalBodyAttachmentParams 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.
-
ParentPhysicalBodyAttachmentParams(const ParentPhysicalBodyAttachmentParams&) = delete#
-
ParentPhysicalBodyAttachmentParams &operator=(const ParentPhysicalBodyAttachmentParams&) = 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 ParentPhysicalBodyAttachmentParams have the same parameters; false otherwise.
Public Members
-
km::HomTran inb_to_joint_transform#
The inboard body to joint transform.
Public Static Functions
-
static kc::ks_ptr<ParentPhysicalBodyAttachmentParams> create(km::HomTran inb_to_joint_transform)#
Create a new instance of ParentPhysicalBodyAttachmentParams.
- Parameters:
inb_to_joint_transform – The inboard body to joint transform for the body.
- Returns:
The new instance of ParentPhysicalBodyAttachmentParams.
-
ParentPhysicalBodyAttachmentParams(km::HomTran inb_to_joint_transform)#