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 virtual const std::string &typeString() const noexcept override#

Returns the type string of the HingeNode.

Returns:

The type string.

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(const std::string &name, kc::ks_ptr<PhysicalBody> bd)#

Constructs a HingeNode.

Protected Attributes

kc::ks_ptr<PhysicalHinge> _hinge = nullptr#
struct dumpOptions : public Karana::Frame::Frame::dumpOptions#

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

Public Functions

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

copy operator

Public Members

bool cacheDeps = true#

Report cache dependency info.