Class LockedSubhinge#
Defined in File PinSubhinge.h
Inheritance Relationships#
Base Type#
public Karana::Dynamics::PhysicalSubhinge_T< 0, 0 >(Template Class PhysicalSubhinge_T)
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 ¶ms) override#
Apply the params from the twin subhinge to this subhinge.
- Parameters:
params – the input parameters
-
LockedSubhinge(kc::ks_ptr<kf::Frame> oframe, kc::ks_ptr<kf::Frame> pframe, std::string_view name, kc::ks_ptr<FramePairHinge> hge)#