Class HingeNode#

Nested Relationships#

Nested Types#

Inheritance Relationships#

Base Type#

Derived Types#

Class Documentation#

class HingeNode : public Karana::Dynamics::Node#

Represents the base class for physical HingePnode and HingeOnode classes.

Subclassed by Karana::Dynamics::HingeOnode, Karana::Dynamics::HingePnode

Public Functions

virtual ~HingeNode()#

HingeNode destructor.

inline const kc::ks_ptr<PhysicalHinge> &hinge() const#

Return the PhysicalHinge hinge the node is attached to.

Returns:

The attached PhysicalHinge instance

Protected Functions

HingeNode(std::string_view name, kc::ks_ptr<PhysicalBody> bd)#

HingeNode constructor.

Parameters:

Protected Attributes

kc::ks_ptr<PhysicalHinge> _hinge = nullptr#

the hinge attached to this onode

struct DumpOptions : public kf::Frame::DumpOptions#

Struct to manage the options for tailoring the output from the dumpString() method.

Public Functions

inline DumpOptions &operator=(const DumpOptions &p)#

Assignment operator.

Parameters:

p – The DumpOptions to copy values from.

Returns:

A reference to the newly assigned DumpOptions.