Struct SphericalSubhingeParams#

Inheritance Relationships#

Base Type#

Struct Documentation#

struct SphericalSubhingeParams : public Karana::Dynamics::PhysicalSubhingeParams#

Hold data related to a SphericalSubhinge.

Public Functions

SphericalSubhingeParams(bool prescribed = false)#

SphericalSubhingeParams 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

~SphericalSubhingeParams()#

Destructor.

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

Public Members

bool prescribed = false#

Whether this SphericalSubhinge is prescribed or not.

Public Static Functions

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

Create an instance of SphericalSubhingeParams.

Parameters:

prescribed – Whether the joint is prescribed or not

Returns:

A pointer to the newly created SphericalSubhingeParams.