Struct Linear3SubhingeParams#

Inheritance Relationships#

Base Type#

Struct Documentation#

struct Linear3SubhingeParams : public Karana::Dynamics::PhysicalSubhingeParams#

Hold data related to a Linear3Subhinge.

Public Functions

Linear3SubhingeParams(bool prescribed = false)#

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

Parameters:

prescribed – Whether the joint is prescribed or not

~Linear3SubhingeParams()#

Destructor.

Linear3SubhingeParams(const Linear3SubhingeParams&) = delete#
Linear3SubhingeParams &operator=(const Linear3SubhingeParams&) = delete#

Public Members

bool prescribed = false#

Whether this Linear3Subhinge is prescribed or not.

Public Static Functions

static kc::ks_ptr<Linear3SubhingeParams> create(bool prescribed = false)#

Create an instance of Linear3SubhingeParams.

Parameters:

prescribed – Whether the joint is prescribed or not

Returns:

A pointer to the newly created Linear3SubhingeParams.