Class LockedSubhinge#

Inheritance Relationships#

Base Type#

Class Documentation#

class LockedSubhinge : public Karana::Dynamics::PhysicalSubhinge_T<0, 0>#

Represents a locked subhinge.

See Subhinges section for more information on physical subhinges.

Public Functions

LockedSubhinge(kc::ks_ptr<kf::Frame> oframe, kc::ks_ptr<kf::Frame> pframe, std::string_view name, kc::ks_ptr<FramePairHinge> hge)#

Constructs a LockedSubhinge.

Parameters:
  • oframe – the oframe frame

  • pframe – the pframe frame

  • name – the name for the subhinge

  • hge – the parent hinge

virtual ~LockedSubhinge()#

LockedSubhinge destructor.

virtual SubhingeBase::SubhingeType subhingeType() const override#

Helper method to return the subhinge type.

Returns:

the subhinge type

Protected Functions

virtual kc::ks_ptr<PhysicalSubhinge::PhysicalSubhingeParams> _getParams() const override#

Get params for the subhinge.

Returns:

the params

virtual void _setParams(const PhysicalSubhinge::PhysicalSubhingeParams &params) override#

Apply the params from the twin subhinge to this subhinge.

Parameters:

params – the input parameters